Method: Weatherbot::API#initialize

Defined in:
lib/api.rb

#initializeAPI

Returns a new instance of API.



7
8
9
10
# File 'lib/api.rb', line 7

def initialize
  @location = location
  @@locations << self
end