Class: Calendlyr::Group

Inherits:
Object
  • Object
show all
Defined in:
lib/calendlyr/objects/group.rb

Instance Method Summary collapse

Methods inherited from Object

#extract_uuid, #get_slug, get_slug, #initialize, #to_ostruct

Constructor Details

This class inherits a constructor from Calendlyr::Object

Instance Method Details

#associated_organizationObject



3
4
5
# File 'lib/calendlyr/objects/group.rb', line 3

def associated_organization
  Organization.new({"uri" => organization}.merge(client: client))
end

#events(**params) ⇒ Object



7
8
9
# File 'lib/calendlyr/objects/group.rb', line 7

def events(**params)
  client.events.list(**params.merge(group: uri))
end

#group_relationships(**params) ⇒ Object



11
12
13
# File 'lib/calendlyr/objects/group.rb', line 11

def group_relationships(**params)
  client.groups.list_relationships(**params.merge(group: uri))
end