Method: Weatheruby::WeatherError#initialize

Defined in:
lib/weatheruby.rb

#initialize(json, type, description) ⇒ WeatherError

Returns a new instance of WeatherError.



12
13
14
15
16
# File 'lib/weatheruby.rb', line 12

def initialize(json, type, description)
  @full_response = json
  @type = type
  @description = description
end