Class: Region

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Region

Returns a new instance of Region.



4
5
6
# File 'lib/citibikenyc/region.rb', line 4

def initialize
  @region_id = @name = ""
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#region_idObject (readonly)

Returns the value of attribute region_id.



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

def region_id
  @region_id
end