Sha256: 59b9ca5c3e7a7bc2fe90ae6cba92a00406ab1c3e1f90366ba82e2277e1736cfe

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

module Calendlyr
  class EventInviteeResource < Resource
    def list(event_uuid:, **params)
      response = get_request("scheduled_events/#{event_uuid}/invitees", params: params.compact)
      Collection.from_response(response, key: "collection", type: EventInvitee, client: client)
    end

    def retrieve(event_uuid:, invitee_uuid:)
      EventInvitee.new get_request("scheduled_events/#{event_uuid}/invitees/#{invitee_uuid}").dig("resource").merge(client: client)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calendlyr-0.6.0 lib/calendlyr/resources/event_invitees.rb