Sha256: c1605235454586f911d29f55a9a468cc0dad191e875cbf5f9777a65d4dc5e5a0

Contents?: true

Size: 337 Bytes

Versions: 5

Compression:

Stored size: 337 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

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