Class: GoTransit::Stop::Destination::Line

Inherits:
ApiResource
  • Object
show all
Defined in:
lib/go_transit/resources/stop/destination/line.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

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/go_transit/resources/stop/destination/line.rb', line 3

def code
  @code
end

#destination_stopObject

Returns the value of attribute destination_stop.



3
4
5
# File 'lib/go_transit/resources/stop/destination/line.rb', line 3

def destination_stop
  @destination_stop
end

#directionObject

Returns the value of attribute direction.



3
4
5
# File 'lib/go_transit/resources/stop/destination/line.rb', line 3

def direction
  @direction
end

#displayObject

Returns the value of attribute display.



3
4
5
# File 'lib/go_transit/resources/stop/destination/line.rb', line 3

def display
  @display
end