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.
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.
80 |
# File 'lib/lws/apps/presence.rb', line 80 has_many :people |
#title ⇒ String
Returns the title of the appointment.
84 |
# File 'lib/lws/apps/presence.rb', line 84 attribute :title |
#uuid ⇒ String
Returns the UUID of the appointment.
88 |
# File 'lib/lws/apps/presence.rb', line 88 attribute :uuid |