Class: GoTransit::Schedule::Journey::SchJourney::Service::Link

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from ApiResource

#initialize

Constructor Details

This class inherits a constructor from GoTransit::ApiResource

Instance Attribute Details

#from_stop_codeObject

Returns the value of attribute from_stop_code.



3
4
5
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3

def from_stop_code
  @from_stop_code
end

#from_tripObject

Returns the value of attribute from_trip.



3
4
5
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3

def from_trip
  @from_trip
end

#to_stop_codeObject

Returns the value of attribute to_stop_code.



3
4
5
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3

def to_stop_code
  @to_stop_code
end

#to_tripObject

Returns the value of attribute to_trip.



3
4
5
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3

def to_trip
  @to_trip
end

#transfer_durationObject

Returns the value of attribute transfer_duration.



3
4
5
# File 'lib/go_transit/resources/schedule/journey/sch_journey/service/link.rb', line 3

def transfer_duration
  @transfer_duration
end