Class: Calendlyr::Webhook
- Defined in:
- lib/calendlyr/objects/webhooks.rb
Instance Method Summary collapse
Methods inherited from Object
#extract_uuid, #get_slug, #initialize, #to_ostruct
Constructor Details
This class inherits a constructor from Calendlyr::Object
Instance Method Details
#associated_organization ⇒ Object
7 8 9 |
# File 'lib/calendlyr/objects/webhooks.rb', line 7 def associated_organization @associated_organization ||= Organization.new({"uri" => organization}.merge(client: client)) end |
#associated_user ⇒ Object
3 4 5 |
# File 'lib/calendlyr/objects/webhooks.rb', line 3 def associated_user client.users.retrieve(user_uuid: get_slug(user)) end |