Module: Gmail::Base::Get::ClassMethods

Defined in:
lib/gmail/base/get.rb

Instance Method Summary collapse

Instance Method Details

#get(id) ⇒ Object



5
6
7
8
9
# File 'lib/gmail/base/get.rb', line 5

def get(id)
  response = Gmail.request(base_method.send("get"), {id: id})
  Util.convert_to_gmail_object(response, class_name.downcase)

end