Module: Gmail::Base::Create::ClassMethods
- Defined in:
- lib/gmail/base/create.rb
Instance Method Summary collapse
Instance Method Details
#create(body, opts = {}) ⇒ Object
5 6 7 8 |
# File 'lib/gmail/base/create.rb', line 5 def create(body, opts={}) response = Gmail.request(base_method.send("create"), {}, body) Util.convert_to_gmail_object(response, class_name.downcase) end |