Class: GoTransit::Schedule::Journey::SchJourney
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::Schedule::Journey::SchJourney
- Defined in:
- lib/go_transit/resources/schedule/journey/sch_journey.rb
Defined Under Namespace
Classes: Service
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#from ⇒ Object
Returns the value of attribute from.
-
#services ⇒ Object
Returns the value of attribute services.
-
#time ⇒ Object
Returns the value of attribute time.
-
#to ⇒ Object
Returns the value of attribute to.
Method Summary
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey.rb', line 3 def date @date end |
#from ⇒ Object
Returns the value of attribute from.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey.rb', line 3 def from @from end |
#services ⇒ Object
Returns the value of attribute services.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey.rb', line 3 def services @services end |
#time ⇒ Object
Returns the value of attribute time.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey.rb', line 3 def time @time end |
#to ⇒ Object
Returns the value of attribute to.
3 4 5 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey.rb', line 3 def to @to end |