Class: StationStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/citibikenyc/station_status.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#capacityObject (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_dispenserObject (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_servicesObject (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_kioskObject (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

#latObject (readonly)

Returns the value of attribute lat.



2
3
4
# File 'lib/citibikenyc/station_status.rb', line 2

def lat
  @lat
end

#lonObject (readonly)

Returns the value of attribute lon.



2
3
4
# File 'lib/citibikenyc/station_status.rb', line 2

def lon
  @lon
end

#nameObject (readonly)

Returns the value of attribute name.



2
3
4
# File 'lib/citibikenyc/station_status.rb', line 2

def name
  @name
end

#region_idObject (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_methodsObject (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_urlObject (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_nameObject (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_idObject (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