Class: GoTransit::Schedule::Trip::Stop::DepartureTime
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::Schedule::Trip::Stop::DepartureTime
- Defined in:
- lib/go_transit/resources/schedule/trip/stop/departure_time.rb
Instance Attribute Summary collapse
-
#anchor_date ⇒ Object
Returns the value of attribute anchor_date.
-
#computed ⇒ Object
Returns the value of attribute computed.
-
#scheduled ⇒ Object
Returns the value of attribute scheduled.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#anchor_date ⇒ Object
Returns the value of attribute anchor_date.
3 4 5 |
# File 'lib/go_transit/resources/schedule/trip/stop/departure_time.rb', line 3 def anchor_date @anchor_date end |
#computed ⇒ Object
Returns the value of attribute computed.
3 4 5 |
# File 'lib/go_transit/resources/schedule/trip/stop/departure_time.rb', line 3 def computed @computed end |
#scheduled ⇒ Object
Returns the value of attribute scheduled.
3 4 5 |
# File 'lib/go_transit/resources/schedule/trip/stop/departure_time.rb', line 3 def scheduled @scheduled end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/go_transit/resources/schedule/trip/stop/departure_time.rb', line 3 def status @status end |
Instance Method Details
#computed_local ⇒ Object
17 18 19 |
# File 'lib/go_transit/resources/schedule/trip/stop/departure_time.rb', line 17 def computed_local to_local_from_anchor(computed, anchor_date) end |
#computed_utc ⇒ Object
13 14 15 |
# File 'lib/go_transit/resources/schedule/trip/stop/departure_time.rb', line 13 def computed_utc to_utc_from_anchor(computed, anchor_date) end |
#scheduled_local ⇒ Object
9 10 11 |
# File 'lib/go_transit/resources/schedule/trip/stop/departure_time.rb', line 9 def scheduled_local to_local_from_anchor(scheduled, anchor_date) end |
#scheduled_utc ⇒ Object
5 6 7 |
# File 'lib/go_transit/resources/schedule/trip/stop/departure_time.rb', line 5 def scheduled_utc to_utc_from_anchor(scheduled, anchor_date) end |