Class: GoTransit::Stop::NextService::Line
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::Stop::NextService::Line
- Defined in:
- lib/go_transit/resources/stop/next_service/line.rb
Instance Attribute Summary collapse
-
#actual_platform ⇒ Object
Returns the value of attribute actual_platform.
-
#computed_departure_time ⇒ Object
Returns the value of attribute computed_departure_time.
-
#departure_status ⇒ Object
Returns the value of attribute departure_status.
-
#direction_code ⇒ Object
Returns the value of attribute direction_code.
-
#direction_name ⇒ Object
Returns the value of attribute direction_name.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#line_code ⇒ Object
Returns the value of attribute line_code.
-
#line_name ⇒ Object
Returns the value of attribute line_name.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#scheduled_departure_time ⇒ Object
Returns the value of attribute scheduled_departure_time.
-
#scheduled_platform ⇒ Object
Returns the value of attribute scheduled_platform.
-
#service_type ⇒ Object
Returns the value of attribute service_type.
-
#status ⇒ Object
Returns the value of attribute status.
-
#stop_code ⇒ Object
Returns the value of attribute stop_code.
-
#trip_number ⇒ Object
Returns the value of attribute trip_number.
-
#trip_order ⇒ Object
Returns the value of attribute trip_order.
-
#update_time ⇒ Object
Returns the value of attribute update_time.
Instance Method Summary collapse
- #computed_departure_time_utc ⇒ Object
- #scheduled_departure_time_utc ⇒ Object
- #update_time_utc ⇒ Object
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#actual_platform ⇒ Object
Returns the value of attribute actual_platform.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def actual_platform @actual_platform end |
#computed_departure_time ⇒ Object
Returns the value of attribute computed_departure_time.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def computed_departure_time @computed_departure_time end |
#departure_status ⇒ Object
Returns the value of attribute departure_status.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def departure_status @departure_status end |
#direction_code ⇒ Object
Returns the value of attribute direction_code.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def direction_code @direction_code end |
#direction_name ⇒ Object
Returns the value of attribute direction_name.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def direction_name @direction_name end |
#latitude ⇒ Object
Returns the value of attribute latitude.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def latitude @latitude end |
#line_code ⇒ Object
Returns the value of attribute line_code.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def line_code @line_code end |
#line_name ⇒ Object
Returns the value of attribute line_name.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def line_name @line_name end |
#longitude ⇒ Object
Returns the value of attribute longitude.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def longitude @longitude end |
#scheduled_departure_time ⇒ Object
Returns the value of attribute scheduled_departure_time.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def scheduled_departure_time @scheduled_departure_time end |
#scheduled_platform ⇒ Object
Returns the value of attribute scheduled_platform.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def scheduled_platform @scheduled_platform end |
#service_type ⇒ Object
Returns the value of attribute service_type.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def service_type @service_type end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def status @status end |
#stop_code ⇒ Object
Returns the value of attribute stop_code.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def stop_code @stop_code end |
#trip_number ⇒ Object
Returns the value of attribute trip_number.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def trip_number @trip_number end |
#trip_order ⇒ Object
Returns the value of attribute trip_order.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def trip_order @trip_order end |
#update_time ⇒ Object
Returns the value of attribute update_time.
3 4 5 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 3 def update_time @update_time end |
Instance Method Details
#computed_departure_time_utc ⇒ Object
14 15 16 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 14 def computed_departure_time_utc to_utc(computed_departure_time) end |
#scheduled_departure_time_utc ⇒ Object
10 11 12 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 10 def scheduled_departure_time_utc to_utc(scheduled_departure_time) end |
#update_time_utc ⇒ Object
18 19 20 |
# File 'lib/go_transit/resources/stop/next_service/line.rb', line 18 def update_time_utc to_utc(update_time) end |