struct CitiBike::StationInformation::Station

Overview

Represents an individual station in the Citi Bike system.

Defined in:

citibike/station_information.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def capacity : UInt32 #

def capacity=(_capacity : UInt32) #

def eightd_has_key_dispenser : Bool #

def eightd_has_key_dispenser=(_eightd_has_key_dispenser : Bool) #

def lat : Float64 #

def lat=(_lat : Float64) #

def lon : Float64 #

def lon=(_lon : Float64) #

def name : String #

def name=(_name : String) #

def region_id : UInt32 #

def region_id=(_region_id : UInt32) #

def rental_methods : Array(String) #

def rental_methods=(_rental_methods : Array(String)) #

def rental_url : String #

def rental_url=(_rental_url : String) #

def station_id : String #

def station_id=(_station_id : String) #

def to_json(json : JSON::Builder) #