Class: GoTransit::ServiceUpdate::Message
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::ServiceUpdate::Message
- Defined in:
- lib/go_transit/resources/service_update/message.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#body_english ⇒ Object
Returns the value of attribute body_english.
-
#body_french ⇒ Object
Returns the value of attribute body_french.
-
#category ⇒ Object
Returns the value of attribute category.
-
#code ⇒ Object
Returns the value of attribute code.
-
#lines ⇒ Object
Returns the value of attribute lines.
-
#parent_code ⇒ Object
Returns the value of attribute parent_code.
-
#posted_date_time ⇒ Object
Returns the value of attribute posted_date_time.
-
#status ⇒ Object
Returns the value of attribute status.
-
#stops ⇒ Object
Returns the value of attribute stops.
-
#sub_category ⇒ Object
Returns the value of attribute sub_category.
-
#subject_english ⇒ Object
Returns the value of attribute subject_english.
-
#subject_french ⇒ Object
Returns the value of attribute subject_french.
-
#trips ⇒ Object
Returns the value of attribute trips.
Instance Method Summary collapse
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#body_english ⇒ Object
Returns the value of attribute body_english.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def body_english @body_english end |
#body_french ⇒ Object
Returns the value of attribute body_french.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def body_french @body_french end |
#category ⇒ Object
Returns the value of attribute category.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def category @category end |
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def code @code end |
#lines ⇒ Object
Returns the value of attribute lines.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def lines @lines end |
#parent_code ⇒ Object
Returns the value of attribute parent_code.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def parent_code @parent_code end |
#posted_date_time ⇒ Object
Returns the value of attribute posted_date_time.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def posted_date_time @posted_date_time end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def status @status end |
#stops ⇒ Object
Returns the value of attribute stops.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def stops @stops end |
#sub_category ⇒ Object
Returns the value of attribute sub_category.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def sub_category @sub_category end |
#subject_english ⇒ Object
Returns the value of attribute subject_english.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def subject_english @subject_english end |
#subject_french ⇒ Object
Returns the value of attribute subject_french.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def subject_french @subject_french end |
#trips ⇒ Object
Returns the value of attribute trips.
3 4 5 |
# File 'lib/go_transit/resources/service_update/message.rb', line 3 def trips @trips end |
Instance Method Details
#posted_date_time_utc ⇒ Object
7 8 9 |
# File 'lib/go_transit/resources/service_update/message.rb', line 7 def posted_date_time_utc to_utc(posted_date_time) end |