Class: Calendly::ActivityLogEntry
- Inherits:
-
Object
- Object
- Calendly::ActivityLogEntry
- Includes:
- ModelUtils
- Defined in:
- lib/calendly/models/activity_log_entry.rb
Overview
Calendly’s activity log entry model.
Constant Summary collapse
- UUID_RE =
%r{\A#{Client::API_HOST}/activity_log_entries/(#{UUID_FORMAT})\z}.freeze
- TIME_FIELDS =
%i[occurred_at].freeze
Constants included from ModelUtils
Instance Attribute Summary collapse
-
#action ⇒ String
The action associated with the entry.
-
#actor ⇒ Hash
The Calendly actor that took the action creating the activity log entry.
- #details ⇒ Hash
- #fully_qualified_name ⇒ String
-
#namespace ⇒ String
The category associated with the entry.
-
#occurred_at ⇒ Time
The date and time of the entry.
-
#organization ⇒ Organization
The organization associated with the entry.
-
#uri ⇒ String
Canonical reference (unique identifier) for the activity log entry.
-
#uuid ⇒ String
unique id of the ActivityLogEntry object.
Class Method Summary collapse
Methods included from ModelUtils
#client, #id, included, #initialize, #inspect
Instance Attribute Details
#action ⇒ String
The action associated with the entry.
44 45 46 |
# File 'lib/calendly/models/activity_log_entry.rb', line 44 def action @action end |
#actor ⇒ Hash
The Calendly actor that took the action creating the activity log entry.
30 31 32 |
# File 'lib/calendly/models/activity_log_entry.rb', line 30 def actor @actor end |
#details ⇒ Hash
33 34 35 |
# File 'lib/calendly/models/activity_log_entry.rb', line 33 def details @details end |
#fully_qualified_name ⇒ String
36 37 38 |
# File 'lib/calendly/models/activity_log_entry.rb', line 36 def fully_qualified_name @fully_qualified_name end |
#namespace ⇒ String
The category associated with the entry.
40 41 42 |
# File 'lib/calendly/models/activity_log_entry.rb', line 40 def namespace @namespace end |
#occurred_at ⇒ Time
The date and time of the entry.
26 27 28 |
# File 'lib/calendly/models/activity_log_entry.rb', line 26 def occurred_at @occurred_at end |
#organization ⇒ Organization
The organization associated with the entry.
48 49 50 |
# File 'lib/calendly/models/activity_log_entry.rb', line 48 def organization @organization end |
#uri ⇒ String
Canonical reference (unique identifier) for the activity log entry.
22 23 24 |
# File 'lib/calendly/models/activity_log_entry.rb', line 22 def uri @uri end |
#uuid ⇒ String
unique id of the ActivityLogEntry object.
18 19 20 |
# File 'lib/calendly/models/activity_log_entry.rb', line 18 def uuid @uuid end |
Class Method Details
.association ⇒ Object
10 11 12 13 14 |
# File 'lib/calendly/models/activity_log_entry.rb', line 10 def self.association { organization: Organization } end |