Class: Calendly::InviteeNoShow
- Inherits:
-
Object
- Object
- Calendly::InviteeNoShow
- Includes:
- ModelUtils
- Defined in:
- lib/calendly/models/invitee_no_show.rb
Overview
Calendly’s invitee no show model.
Constant Summary collapse
- UUID_RE =
%r{\A#{Client::API_HOST}/invitee_no_shows/(#{UUID_FORMAT})\z}.freeze
- TIME_FIELDS =
%i[created_at].freeze
Constants included from ModelUtils
Instance Attribute Summary collapse
-
#created_at ⇒ Time
The moment when the no show was created.
-
#invitee ⇒ Calendly::Invitee?
The associated Invitee.
-
#uri ⇒ String
Canonical reference (unique identifier) for the no show.
-
#uuid ⇒ String
unique id of the InviteeNoShow object.
Class Method Summary collapse
Instance Method Summary collapse
-
#delete ⇒ true
Unmarks as a No Show.
-
#fetch ⇒ Calendly::InviteeNoShow
Get Invitee No Show associated with self.
Methods included from ModelUtils
#client, #id, included, #initialize, #inspect
Instance Attribute Details
#created_at ⇒ Time
The moment when the no show was created.
26 27 28 |
# File 'lib/calendly/models/invitee_no_show.rb', line 26 def created_at @created_at end |
#invitee ⇒ Calendly::Invitee?
The associated Invitee.
30 31 32 |
# File 'lib/calendly/models/invitee_no_show.rb', line 30 def invitee @invitee end |
#uri ⇒ String
Canonical reference (unique identifier) for the no show.
22 23 24 |
# File 'lib/calendly/models/invitee_no_show.rb', line 22 def uri @uri end |
#uuid ⇒ String
unique id of the InviteeNoShow object.
18 19 20 |
# File 'lib/calendly/models/invitee_no_show.rb', line 18 def uuid @uuid end |
Class Method Details
.association ⇒ Object
10 11 12 13 14 |
# File 'lib/calendly/models/invitee_no_show.rb', line 10 def self.association { invitee: Invitee } end |
Instance Method Details
#delete ⇒ true
Unmarks as a No Show.
50 51 52 |
# File 'lib/calendly/models/invitee_no_show.rb', line 50 def delete client.delete_invitee_no_show uuid end |
#fetch ⇒ Calendly::InviteeNoShow
Get Invitee No Show associated with self.
39 40 41 |
# File 'lib/calendly/models/invitee_no_show.rb', line 39 def fetch client.invitee_no_show uuid end |