Class: Calendlyr::RoutingForm

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



3
4
5
# File 'lib/calendlyr/objects/routing_form.rb', line 3

def associated_organization
  Organization.new({"uri" => organization}.merge(client: client))
end

#submissions(**params) ⇒ Object



7
8
9
# File 'lib/calendlyr/objects/routing_form.rb', line 7

def submissions(**params)
  client.routing_forms.list_submissions(**params.merge(form: uri))
end