Class: Calendlyr::SchedulingLinksResource
- Defined in:
- lib/calendlyr/resources/scheduling_links.rb
Constant Summary
Constants inherited from Resource
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Calendlyr::Resource
Instance Method Details
#create(owner:, max_event_count:, owner_type: "EventType") ⇒ Object
3 4 5 6 |
# File 'lib/calendlyr/resources/scheduling_links.rb', line 3 def create(owner:, max_event_count:, owner_type: "EventType") body = {owner: owner, max_event_count: max_event_count, owner_type: owner_type} SchedulingLink.new post_request("scheduling_links", body: body).dig("resource").merge(client: client) end |