Method: Weatherbot::API#initialize
- Defined in:
- lib/api.rb
#initialize ⇒ API
Returns a new instance of API.
7 8 9 10 |
# File 'lib/api.rb', line 7 def initialize @location = location @@locations << self end |
Returns a new instance of API.
7 8 9 10 |
# File 'lib/api.rb', line 7 def initialize @location = location @@locations << self end |