Sha256: 572833812581e759ba1e01a5517b26a9aad246875664631c10a4260791da951b

Contents?: true

Size: 247 Bytes

Versions: 5

Compression:

Stored size: 247 Bytes

Contents

module Calendlyr
  class ShareResource < Resource
    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
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
calendlyr-0.7.4 lib/calendlyr/resources/share.rb
calendlyr-0.7.3 lib/calendlyr/resources/share.rb
calendlyr-0.7.2 lib/calendlyr/resources/share.rb
calendlyr-0.7.1 lib/calendlyr/resources/share.rb
calendlyr-0.7.0 lib/calendlyr/resources/share.rb