Class: GoTransit::Schedule::Journey::SchJourney

Inherits:
ApiResource
  • Object
show all
Defined in:
lib/go_transit/resources/schedule/journey/sch_journey.rb

Defined Under Namespace

Classes: Service

Instance Attribute Summary collapse

Method Summary

Methods inherited from ApiResource

#initialize

Constructor Details

This class inherits a constructor from GoTransit::ApiResource

Instance Attribute Details

#dateObject

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

#fromObject

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

#servicesObject

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

#timeObject

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

#toObject

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