struct CitiBike::StationStatus::Status
- CitiBike::StationStatus::Status
- Struct
- Value
- Object
Defined in:
citibike/station_status.crConstructors
Instance Method Summary
- #eightd_has_available_keys : Bool
- #eightd_has_available_keys=(_eightd_has_available_keys : Bool)
-
#installed?
Whether or not this Citi Bike station is installed.
- #is_installed : UInt32
- #is_installed=(_is_installed : UInt32)
- #is_renting : UInt32
- #is_renting=(_is_renting : UInt32)
- #is_returning : UInt32
- #is_returning=(_is_returning : UInt32)
- #last_reported : Time
- #last_reported=(_last_reported : Time)
- #num_bikes_available : UInt32
- #num_bikes_available=(_num_bikes_available : UInt32)
- #num_bikes_disabled : UInt32
- #num_bikes_disabled=(_num_bikes_disabled : UInt32)
- #num_docks_available : UInt32
- #num_docks_available=(_num_docks_available : UInt32)
- #num_docks_disabled : UInt32
- #num_docks_disabled=(_num_docks_disabled : UInt32)
- #num_ebikes_available : UInt32
- #num_ebikes_available=(_num_ebikes_available : UInt32)
-
#renting?
Whether or not this Citi Bike station is currently renting bikes.
-
#returning?
Whether or not this Citi Bike station is currently accepted returned bikes.
- #station_id : String
- #station_id=(_station_id : String)
- #to_json(json : JSON::Builder)
Constructor Detail
Instance Method Detail
def returning?
#
Whether or not this Citi Bike station is currently accepted returned bikes.
NOTE This is true
even if the station is full!