Class: StationStatus
- Inherits:
-
Object
- Object
- StationStatus
- Defined in:
- lib/citibikenyc/station_status.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.
-
#eightd_station_services ⇒ Object
readonly
Returns the value of attribute eightd_station_services.
-
#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) ⇒ StationStatus
constructor
A new instance of StationStatus.
Constructor Details
#initialize(args) ⇒ StationStatus
Returns a new instance of StationStatus.
5 6 7 8 |
# File 'lib/citibikenyc/station_status.rb', line 5 def initialize() @station_id = @name = @short_name = @lat = @lon = @region_id = @rental_methods = @capacity = @rental_url = @eightd_has_key_dispenser = @eightd_station_services = @has_kiosk = "" end |
Instance Attribute Details
#capacity ⇒ Object (readonly)
Returns the value of attribute capacity.
2 3 4 |
# File 'lib/citibikenyc/station_status.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_status.rb', line 2 def eightd_has_key_dispenser @eightd_has_key_dispenser end |
#eightd_station_services ⇒ Object (readonly)
Returns the value of attribute eightd_station_services.
2 3 4 |
# File 'lib/citibikenyc/station_status.rb', line 2 def eightd_station_services @eightd_station_services end |
#has_kiosk ⇒ Object (readonly)
Returns the value of attribute has_kiosk.
2 3 4 |
# File 'lib/citibikenyc/station_status.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_status.rb', line 2 def lat @lat end |
#lon ⇒ Object (readonly)
Returns the value of attribute lon.
2 3 4 |
# File 'lib/citibikenyc/station_status.rb', line 2 def lon @lon end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/citibikenyc/station_status.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_status.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_status.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_status.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_status.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_status.rb', line 2 def station_id @station_id end |