Class: Calendlyr::ShareResource
- Defined in:
- lib/calendlyr/resources/share.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(event_type:, **params) ⇒ Object
3 4 5 6 |
# File 'lib/calendlyr/resources/share.rb', line 3 def create(event_type:, **params) body = {event_type: event_type}.merge(params) Share.new post_request("shares", body: body).dig("resource").merge(client: client) end |