Class: GoTransit::Stop::Place

Inherits:
ApiResource show all
Defined in:
lib/go_transit/resources/stop/place.rb

Defined Under Namespace

Classes: Stop

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/place.rb', line 3

def code
  @code
end

#latitudeObject

Returns the value of attribute latitude.



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

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



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

def longitude
  @longitude
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#radiusObject

Returns the value of attribute radius.



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

def radius
  @radius
end

#stopsObject

Returns the value of attribute stops.



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

def stops
  @stops
end