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.
-
#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.
47 |
# File 'lib/lws/apps/presence.rb', line 47 attribute :datetime_end |
#datetime_start ⇒ String
Returns the timestamp of the start of the appointment.
51 |
# File 'lib/lws/apps/presence.rb', line 51 attribute :datetime_start |
#description ⇒ String
Returns the description of the appointment.
55 |
# File 'lib/lws/apps/presence.rb', line 55 attribute :description |
#invite ⇒ String
Returns the original invite body of the appointment.
59 |
# File 'lib/lws/apps/presence.rb', line 59 attribute :invite |
#location ⇒ Integer
Returns the ID of the location of the appointment.
63 |
# File 'lib/lws/apps/presence.rb', line 63 belongs_to :location, uri: "locations/:id" |
#organiser ⇒ Person
Returns the organiser of the appointment.
71 |
# File 'lib/lws/apps/presence.rb', line 71 belongs_to :organiser, class_name: "LWS::Presence::Person" |
#organiser_id ⇒ Fixnum
Returns the ID of the organiser of the appointment.
75 |
# File 'lib/lws/apps/presence.rb', line 75 attribute :organiser_id |
#people ⇒ Array<Person>
Returns the people associated with the appointment.
79 |
# File 'lib/lws/apps/presence.rb', line 79 has_many :people |
#title ⇒ String
Returns the title of the appointment.
83 |
# File 'lib/lws/apps/presence.rb', line 83 attribute :title |
#uuid ⇒ String
Returns the UUID of the appointment.
87 |
# File 'lib/lws/apps/presence.rb', line 87 attribute :uuid |