Method: Calendlyr::SharesResource#create

Defined in:
lib/calendlyr/resources/shares.rb

#create(event_type:, **params) ⇒ Object



3
4
5
6
# File 'lib/calendlyr/resources/shares.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