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
-
#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
#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_utc ⇒ Object
9 10 11 |
# File 'lib/go_transit/resources/schedule/trip/stop/departure_time.rb', line 9 def computed_utc to_utc(computed) 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(scheduled) end |