Class: Calendlyr::EventTypes::Membership
- Defined in:
- lib/calendlyr/objects/event_types/membership.rb
Instance Method Summary collapse
Methods inherited from Object
#extract_uuid, #get_slug, get_slug, #initialize, #to_ostruct
Constructor Details
This class inherits a constructor from Calendlyr::Object
Instance Method Details
#associated_event_type ⇒ Object
3 4 5 |
# File 'lib/calendlyr/objects/event_types/membership.rb', line 3 def associated_event_type client.event_types.retrieve(uuid: get_slug(event_type.uri)) end |
#associated_member ⇒ Object
7 8 9 |
# File 'lib/calendlyr/objects/event_types/membership.rb', line 7 def associated_member client.users.retrieve(uuid: get_slug(member.uri)) end |