Class: Inthegra::BusStop
- Defined in:
- lib/inthegra/model/bus_stop.rb
Instance Attribute Summary collapse
-
#address ⇒ String
readonly
Full address of bus stop.
-
#code ⇒ Integer
readonly
Code of identification.
-
#lat ⇒ String
readonly
Latitude of the bus stop.
-
#long ⇒ String
readonly
Longitude of the bus stop.
-
#name ⇒ String
readonly
Where the bus stop is.
Method Summary
Methods inherited from BaseModel
Constructor Details
This class inherits a constructor from Inthegra::BaseModel
Instance Attribute Details
#address ⇒ String (readonly)
Returns full address of bus stop.
11 12 13 |
# File 'lib/inthegra/model/bus_stop.rb', line 11 def address @address end |
#code ⇒ Integer (readonly)
Returns code of identification.
5 6 7 |
# File 'lib/inthegra/model/bus_stop.rb', line 5 def code @code end |
#lat ⇒ String (readonly)
Returns latitude of the bus stop.
14 15 16 |
# File 'lib/inthegra/model/bus_stop.rb', line 14 def lat @lat end |
#long ⇒ String (readonly)
Returns longitude of the bus stop.
17 18 19 |
# File 'lib/inthegra/model/bus_stop.rb', line 17 def long @long end |
#name ⇒ String (readonly)
Returns where the bus stop is.
8 9 10 |
# File 'lib/inthegra/model/bus_stop.rb', line 8 def name @name end |