Class: GoTransit::ServiceUpdate::Exceptions::Trip::Stop
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::ServiceUpdate::Exceptions::Trip::Stop
- Defined in:
- lib/go_transit/resources/service_update/exceptions/trip/stop.rb
Instance Attribute Summary collapse
-
#actual_time ⇒ Object
Returns the value of attribute actual_time.
-
#code ⇒ Object
Returns the value of attribute code.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_cancelled ⇒ Object
Returns the value of attribute is_cancelled.
-
#is_override ⇒ Object
Returns the value of attribute is_override.
-
#is_stopping ⇒ Object
Returns the value of attribute is_stopping.
-
#name ⇒ Object
Returns the value of attribute name.
-
#order ⇒ Object
Returns the value of attribute order.
-
#sch_arrival ⇒ Object
Returns the value of attribute sch_arrival.
-
#sch_departure ⇒ Object
Returns the value of attribute sch_departure.
-
#service_type ⇒ Object
Returns the value of attribute service_type.
Instance Method Summary collapse
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#actual_time ⇒ Object
Returns the value of attribute actual_time.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def actual_time @actual_time end |
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def code @code end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def id @id end |
#is_cancelled ⇒ Object
Returns the value of attribute is_cancelled.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def is_cancelled @is_cancelled end |
#is_override ⇒ Object
Returns the value of attribute is_override.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def is_override @is_override end |
#is_stopping ⇒ Object
Returns the value of attribute is_stopping.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def is_stopping @is_stopping end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def name @name end |
#order ⇒ Object
Returns the value of attribute order.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def order @order end |
#sch_arrival ⇒ Object
Returns the value of attribute sch_arrival.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def sch_arrival @sch_arrival end |
#sch_departure ⇒ Object
Returns the value of attribute sch_departure.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def sch_departure @sch_departure end |
#service_type ⇒ Object
Returns the value of attribute service_type.
3 4 5 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 3 def service_type @service_type end |
Instance Method Details
#cancelled? ⇒ Boolean
11 12 13 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 11 def cancelled? is_cancelled.to_i.positive? end |
#override? ⇒ Boolean
15 16 17 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 15 def override? is_override.to_i.positive? end |
#stopping? ⇒ Boolean
7 8 9 |
# File 'lib/go_transit/resources/service_update/exceptions/trip/stop.rb', line 7 def stopping? is_stopping.to_i.positive? end |