Class: LWS::Presence::Appointment
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Presence::Appointment
- Defined in:
- lib/lws/apps/presence.rb
Overview
Instance Attribute Summary collapse
-
#datetime_end ⇒ String
The timestamp of the end of the appointment.
-
#datetime_start ⇒ String
The timestamp of the start of the appointment.
-
#description ⇒ String
The description of the appointment.
-
#invite ⇒ String
The original invite body of the appointment.
-
#location ⇒ Integer
The ID of the location of the appointment.
-
#organiser ⇒ Person
The organiser of the appointment.
-
#organiser_id ⇒ Fixnum
The ID of the organiser of the appointment.
-
#people ⇒ Array<Person>
The people associated with the appointment.
-
#person_ids ⇒ Array<Integer>
The IDs of the people associated with the appointment.
-
#title ⇒ String
The title of the appointment.
-
#uuid ⇒ String
The UUID of the appointment.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#datetime_end ⇒ String
Returns the timestamp of the end of the appointment.
48 |
# File 'lib/lws/apps/presence.rb', line 48 attribute :datetime_end |
#datetime_start ⇒ String
Returns the timestamp of the start of the appointment.
52 |
# File 'lib/lws/apps/presence.rb', line 52 attribute :datetime_start |
#description ⇒ String
Returns the description of the appointment.
56 |
# File 'lib/lws/apps/presence.rb', line 56 attribute :description |
#invite ⇒ String
Returns the original invite body of the appointment.
60 |
# File 'lib/lws/apps/presence.rb', line 60 attribute :invite |
#location ⇒ Integer
Returns the ID of the location of the appointment.
64 |
# File 'lib/lws/apps/presence.rb', line 64 belongs_to :location, uri: "locations/:id" |
#organiser ⇒ Person
Returns the organiser of the appointment.
72 |
# File 'lib/lws/apps/presence.rb', line 72 belongs_to :organiser, class_name: "LWS::Presence::Person" |
#organiser_id ⇒ Fixnum
Returns the ID of the organiser of the appointment.
76 |
# File 'lib/lws/apps/presence.rb', line 76 attribute :organiser_id |
#people ⇒ Array<Person>
Returns the people associated with the appointment.
85 |
# File 'lib/lws/apps/presence.rb', line 85 has_many :people |
#person_ids ⇒ Array<Integer>
Returns the IDs of the people associated with the appointment.
81 |
# File 'lib/lws/apps/presence.rb', line 81 attribute :person_ids |
#title ⇒ String
Returns the title of the appointment.
89 |
# File 'lib/lws/apps/presence.rb', line 89 attribute :title |
#uuid ⇒ String
Returns the UUID of the appointment.
93 |
# File 'lib/lws/apps/presence.rb', line 93 attribute :uuid |