Skip to content

Commit

Permalink
support draft filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
rfgil committed Jan 23, 2024
1 parent 125adcc commit ba48dbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/nylas/draft.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Draft
self.destroyable = true
self.id_listable = true
self.countable = true
self.filterable = true

attribute :id, :string
attribute :object, :string
Expand Down
4 changes: 2 additions & 2 deletions spec/nylas/draft_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
require "spec_helper"

describe Nylas::Draft do
it "is not filterable" do
expect(described_class).not_to be_filterable
it "is filterable" do
expect(described_class).to be_filterable
end

it "is creatable" do
Expand Down

0 comments on commit ba48dbb

Please sign in to comment.