Sha256: 10c985bbc12c6e0b8fd40bd32f6a7f256193f786fc6c7b9d1c0b7dae78a92cd7

Contents?: true

Size: 871 Bytes

Versions: 1

Compression:

Stored size: 871 Bytes

Contents

module Calendly
  class Organization < Object
    def invite_user(email:)
      client.organizations.invite organization_uuid: uuid, email: email
    end

    def list_invitations(**params)
      client.organizations.list_invitations organization_uuid: uuid, **params
    end

    def revoke_invitation(invitation_uuid:)
      client.organizations.revoke_invitation(organization_uuid: uuid, invitation_uuid: invitation_uuid)
    end

    def invitation(invitation_uuid:)
      client.organizations.retrieve_invitation(organization_uuid: uuid, invitation_uuid: invitation_uuid)
    end

    def events(user_uri: nil, **params)
      client.events.list user_uri: user_uri, organization_uri: uri, **params
    end

    def memberships(user_uri: nil, **params)
      client.organizations.list_memberships user_uri: user_uri, organization_uri: uri, **params
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calendlyr-0.3.3 lib/calendly/objects/organizations.rb