struct CitiBike::StationStatus::Status

Defined in:

citibike/station_status.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_87 : JSON::PullParser) #

Instance Method Detail

def eightd_has_available_keys : Bool #

def eightd_has_available_keys=(_eightd_has_available_keys : Bool) #

def installed? #

Whether or not this Citi Bike station is installed.


[View source]
def is_installed : UInt32 #

def is_installed=(_is_installed : UInt32) #

def is_renting : UInt32 #

def is_renting=(_is_renting : UInt32) #

def is_returning : UInt32 #

def is_returning=(_is_returning : UInt32) #

def last_reported : Time #

def last_reported=(_last_reported : Time) #

def num_bikes_available : UInt32 #

def num_bikes_available=(_num_bikes_available : UInt32) #

def num_bikes_disabled : UInt32 #

def num_bikes_disabled=(_num_bikes_disabled : UInt32) #

def num_docks_available : UInt32 #

def num_docks_available=(_num_docks_available : UInt32) #

def num_docks_disabled : UInt32 #

def num_docks_disabled=(_num_docks_disabled : UInt32) #

def num_ebikes_available : UInt32 #

def num_ebikes_available=(_num_ebikes_available : UInt32) #

def renting? #

Whether or not this Citi Bike station is currently renting bikes.


[View source]
def returning? #

Whether or not this Citi Bike station is currently accepted returned bikes.

NOTE This is true even if the station is full!


[View source]
def station_id : String #

def station_id=(_station_id : String) #

def to_json(json : JSON::Builder) #