Sha256: 21358cde1d40a5711194ac2589270a6cab0d3395704fe83131c35443c8350bde
Contents?: true
Size: 451 Bytes
Versions: 5
Compression:
Stored size: 451 Bytes
Contents
module Barometer module WeatherService class WeatherBug class Response class Location < WeatherService::Response::Location private def city payload.fetch('location', 'city') end def state_code payload.fetch('location', 'state') end def zip_code payload.fetch('location', 'zip') end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems