Class: GoTransit::Schedule::Line::Trip
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::Schedule::Line::Trip
- Defined in:
- lib/go_transit/resources/schedule/line/trip.rb
Defined Under Namespace
Classes: Stop
Instance Attribute Summary collapse
-
#display ⇒ Object
Returns the value of attribute display.
-
#number ⇒ Object
Returns the value of attribute number.
-
#stops ⇒ Object
Returns the value of attribute stops.
Method Summary
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#display ⇒ Object
Returns the value of attribute display.
3 4 5 |
# File 'lib/go_transit/resources/schedule/line/trip.rb', line 3 def display @display end |
#number ⇒ Object
Returns the value of attribute number.
3 4 5 |
# File 'lib/go_transit/resources/schedule/line/trip.rb', line 3 def number @number end |
#stops ⇒ Object
Returns the value of attribute stops.
3 4 5 |
# File 'lib/go_transit/resources/schedule/line/trip.rb', line 3 def stops @stops end |