Class: GoTransit::Stop::Place
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::Stop::Place
- Defined in:
- lib/go_transit/resources/stop/place.rb
Defined Under Namespace
Classes: Stop
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#name ⇒ Object
Returns the value of attribute name.
-
#radius ⇒ Object
Returns the value of attribute radius.
-
#stops ⇒ Object
Returns the value of attribute stops.
Method Summary
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/go_transit/resources/stop/place.rb', line 3 def code @code end |
#latitude ⇒ Object
Returns the value of attribute latitude.
3 4 5 |
# File 'lib/go_transit/resources/stop/place.rb', line 3 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
3 4 5 |
# File 'lib/go_transit/resources/stop/place.rb', line 3 def longitude @longitude end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/go_transit/resources/stop/place.rb', line 3 def name @name end |
#radius ⇒ Object
Returns the value of attribute radius.
3 4 5 |
# File 'lib/go_transit/resources/stop/place.rb', line 3 def radius @radius end |
#stops ⇒ Object
Returns the value of attribute stops.
3 4 5 |
# File 'lib/go_transit/resources/stop/place.rb', line 3 def stops @stops end |