Class: Calendlyr::SchedulingLink

Inherits:
Object
  • Object
show all
Defined in:
lib/calendlyr/objects/scheduling_link.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

#event_typeObject



3
4
5
6
7
# File 'lib/calendlyr/objects/scheduling_link.rb', line 3

def event_type
  return unless owner_type == "EventType"

  client.event_types.retrieve(uuid: get_slug(owner))
end