Sha256: be9b7dce8a3a7c7b0ad428cdc9434e74cb35ddb9873f2aba53f3bde4b4626e33

Contents?: true

Size: 369 Bytes

Versions: 6

Compression:

Stored size: 369 Bytes

Contents

module Calendlyr
  class Groups::Relationship < Object
    def associated_organization
      Organization.new({"uri" => organization}.merge(client: client))
    end

    def associated_group
      client.groups.retrieve(uuid: get_slug(group))
    end

    def associated_owner
      client.organizations.retrieve_membership(uuid: get_slug(owner.uri))
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
calendlyr-0.7.5 lib/calendlyr/objects/groups/relationship.rb
calendlyr-0.7.4 lib/calendlyr/objects/groups/relationship.rb
calendlyr-0.7.3 lib/calendlyr/objects/groups/relationship.rb
calendlyr-0.7.2 lib/calendlyr/objects/groups/relationship.rb
calendlyr-0.7.1 lib/calendlyr/objects/groups/relationship.rb
calendlyr-0.7.0 lib/calendlyr/objects/groups/relationship.rb