Class: Nylas::Rsvp
Overview
Allows RSVPing to a particular event
Instance Attribute Summary collapse
-
#notify_participants ⇒ Object
Returns the value of attribute notify_participants.
Attributes included from Model
Instance Method Summary collapse
Methods included from Model
#auth_method, #create, #destroy, #execute, included, #model_class, #persisted?, #reload, #resource_path, #resources_path, #save_all_attributes, #to_json, #update, #update_all_attributes
Instance Attribute Details
#notify_participants ⇒ Object
Returns the value of attribute notify_participants.
13 14 15 |
# File 'lib/nylas/rsvp.rb', line 13 def notify_participants @notify_participants end |
Instance Method Details
#save ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/nylas/rsvp.rb', line 15 def save api.execute( method: :post, path: "/send-rsvp", payload: attributes.serialize_for_api, query: { notify_participants: notify_participants } ) end |