Sha256: 7935df2799e72ad0f9d586a8f314a9700c2a214ef5bfcf151ac85b748b45a087

Contents?: true

Size: 393 Bytes

Versions: 6

Compression:

Stored size: 393 Bytes

Contents

module Barometer
  module WeatherService
    class Noaa
      class Response
        class Location < WeatherService::Response::Location
          private

          def latitude
            payload.fetch('location', 'point', '@latitude')
          end

          def longitude
            payload.fetch('location', 'point', '@longitude')
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
barometer-0.9.5 lib/barometer/weather_services/noaa/response/location.rb
barometer-0.9.4 lib/barometer/weather_services/noaa/response/location.rb
barometer-0.9.3 lib/barometer/weather_services/noaa/response/location.rb
barometer-0.9.2 lib/barometer/weather_services/noaa/response/location.rb
barometer-0.9.1 lib/barometer/weather_services/noaa/response/location.rb
barometer-0.9.0 lib/barometer/weather_services/noaa/response/location.rb