lib/inbox.rb in nylas-1.2.1 vs lib/inbox.rb in nylas-1.3.0
- old
+ new
@@ -7,11 +7,10 @@
require 'account'
require 'api_account'
require 'api_thread'
require 'calendar'
require 'account'
-require 'tag'
require 'message'
require 'draft'
require 'contact'
require 'file'
require 'calendar'
@@ -147,14 +146,10 @@
# API Methods
def threads
@threads ||= RestfulModelCollection.new(Thread, self)
end
- def tags
- @tags ||= RestfulModelCollection.new(Tag, self)
- end
-
def messages
@messages ||= RestfulModelCollection.new(Message, self)
end
def files
@@ -246,10 +241,9 @@
"thread" => Inbox::Thread,
"contact" => Inbox::Contact,
"event" => Inbox::Event,
"file" => Inbox::File,
"message" => Inbox::Message,
- "tag" => Inbox::Tag,
"folder" => Inbox::Folder,
"label" => Inbox::Label,
}
# It's possible to ask the API to expand objects.