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.
Instance Method Summary collapse
-
#initialize(params) ⇒ SchJourney
constructor
A new instance of SchJourney.
Constructor Details
#initialize(params) ⇒ SchJourney
Returns a new instance of SchJourney.
5 6 7 8 |
# File 'lib/go_transit/resources/schedule/journey/sch_journey.rb', line 5 def initialize(params) super propagate_anchor_date end |
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 |