Sha256: 63197699a9649ed3b120a7d20e8f6aea9728869b520a9c243d5134b8c13a730e

Contents?: true

Size: 202 Bytes

Versions: 10

Compression:

Stored size: 202 Bytes

Contents

class YahooWeather::Location
  attr_reader :city, :region, :country

  def initialize(payload)
    @city    = payload['city']
    @region  = payload['region']
    @country = payload['country']
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
yahoo_weather-1.1.1 lib/yahoo_weather/location.rb
yahoo_weather-1.1.0 lib/yahoo_weather/location.rb
yahoo_weather-1.0.7 lib/yahoo_weather/location.rb
yahoo_weather-1.0.6 lib/yahoo_weather/location.rb
yahoo_weather-1.0.5 lib/yahoo_weather/location.rb
yahoo_weather-1.0.4 lib/yahoo_weather/location.rb
yahoo_weather-1.0.3 lib/yahoo_weather/location.rb
yahoo_weather-1.0.2 lib/yahoo_weather/location.rb
yahoo_weather-1.0.1 lib/yahoo_weather/location.rb
yahoo_weather-1.0.0 lib/yahoo_weather/location.rb