Class: StationInformation
- Inherits:
-
Object
- Object
- StationInformation
- Defined in:
- lib/citibikenyc/station_information.rb
Instance Attribute Summary collapse
-
#capacity ⇒ Object
readonly
Returns the value of attribute capacity.
-
#eightd_has_key_dispenser ⇒ Object
readonly
Returns the value of attribute eightd_has_key_dispenser.
-
#has_kiosk ⇒ Object
readonly
Returns the value of attribute has_kiosk.
-
#lat ⇒ Object
readonly
Returns the value of attribute lat.
-
#lon ⇒ Object
readonly
Returns the value of attribute lon.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#region_id ⇒ Object
readonly
Returns the value of attribute region_id.
-
#rental_methods ⇒ Object
readonly
Returns the value of attribute rental_methods.
-
#rental_url ⇒ Object
readonly
Returns the value of attribute rental_url.
-
#short_name ⇒ Object
readonly
Returns the value of attribute short_name.
-
#station_id ⇒ Object
readonly
Returns the value of attribute station_id.
Instance Method Summary collapse
-
#initialize(args) ⇒ StationInformation
constructor
A new instance of StationInformation.
Constructor Details
#initialize(args) ⇒ StationInformation
Returns a new instance of StationInformation.
4 5 6 |
# File 'lib/citibikenyc/station_information.rb', line 4 def initialize() @station_id = @name = @short_name = @lat = @lon = @region_id = @rental_methods = @capacity = @rental_url = @eightd_has_key_dispenser = @has_kiosk = "" end |
Instance Attribute Details
#capacity ⇒ Object (readonly)
Returns the value of attribute capacity.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def capacity @capacity end |
#eightd_has_key_dispenser ⇒ Object (readonly)
Returns the value of attribute eightd_has_key_dispenser.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def eightd_has_key_dispenser @eightd_has_key_dispenser end |
#has_kiosk ⇒ Object (readonly)
Returns the value of attribute has_kiosk.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def has_kiosk @has_kiosk end |
#lat ⇒ Object (readonly)
Returns the value of attribute lat.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def lat @lat end |
#lon ⇒ Object (readonly)
Returns the value of attribute lon.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def lon @lon end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def name @name end |
#region_id ⇒ Object (readonly)
Returns the value of attribute region_id.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def region_id @region_id end |
#rental_methods ⇒ Object (readonly)
Returns the value of attribute rental_methods.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def rental_methods @rental_methods end |
#rental_url ⇒ Object (readonly)
Returns the value of attribute rental_url.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def rental_url @rental_url end |
#short_name ⇒ Object (readonly)
Returns the value of attribute short_name.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def short_name @short_name end |
#station_id ⇒ Object (readonly)
Returns the value of attribute station_id.
2 3 4 |
# File 'lib/citibikenyc/station_information.rb', line 2 def station_id @station_id end |