lib/api_thread.rb in nylas-1.0.0 vs lib/api_thread.rb in nylas-1.1.0
- old
+ new
@@ -35,14 +35,14 @@
@folder = folder
end
end
def messages
- @messages ||= RestfulModelCollection.new(Message, @_api, @namespace_id, {:thread_id=>@id})
+ @messages ||= RestfulModelCollection.new(Message, @_api, {:thread_id=>@id})
end
def drafts
- @drafts ||= RestfulModelCollection.new(Draft, @_api, @namespace_id, {:thread_id=>@id})
+ @drafts ||= RestfulModelCollection.new(Draft, @_api, {:thread_id=>@id})
end
def update_tags!(tags_to_add = [], tags_to_remove = [])
update('PUT', '', {
:add_tags => tags_to_add,