Class: GoTransit::Schedule::Journey::SchJourney::Service::Link
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::Schedule::Journey::SchJourney::Service::Link
- Defined in:
- lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb
Instance Attribute Summary collapse
-
#from_stop_code ⇒ Object
Returns the value of attribute from_stop_code.
-
#from_trip ⇒ Object
Returns the value of attribute from_trip.
-
#to_stop_code ⇒ Object
Returns the value of attribute to_stop_code.
-
#to_trip ⇒ Object
Returns the value of attribute to_trip.
-
#transfer_duration ⇒ Object
Returns the value of attribute transfer_duration.
Method Summary
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#from_stop_code ⇒ Object
Returns the value of attribute from_stop_code.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3 def from_stop_code @from_stop_code end |
#from_trip ⇒ Object
Returns the value of attribute from_trip.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3 def from_trip @from_trip end |
#to_stop_code ⇒ Object
Returns the value of attribute to_stop_code.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3 def to_stop_code @to_stop_code end |
#to_trip ⇒ Object
Returns the value of attribute to_trip.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3 def to_trip @to_trip end |
#transfer_duration ⇒ Object
Returns the value of attribute transfer_duration.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3 def transfer_duration @transfer_duration end |