Class: Calendlyr::ActivityLog

Inherits:
Object
  • Object
show all
Defined in:
lib/calendlyr/objects/activity_log.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_actorObject



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

def associated_actor
  client.users.retrieve(uuid: get_slug(actor.uri))
end

#associated_organizationObject



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

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