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