Class: GoTransit::ServiceUpdate::ServiceGuarantee
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::ServiceUpdate::ServiceGuarantee
- Includes:
- Enumerable
- Defined in:
- lib/go_transit/resources/service_update/service_guarantee.rb
Defined Under Namespace
Classes: Stop
Instance Attribute Summary collapse
-
#stops ⇒ Object
Returns the value of attribute stops.
Instance Method Summary collapse
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#stops ⇒ Object
Returns the value of attribute stops.
5 6 7 |
# File 'lib/go_transit/resources/service_update/service_guarantee.rb', line 5 def stops @stops end |
Instance Method Details
#each(&block) ⇒ Object
7 8 9 |
# File 'lib/go_transit/resources/service_update/service_guarantee.rb', line 7 def each(&block) stops.each(&block) end |