Sha256: 97bb26dd0f73cadaf7167b1976ef6a6683d444fd5c639b7ad20cd313252ab12c

Contents?: true

Size: 300 Bytes

Versions: 6

Compression:

Stored size: 300 Bytes

Contents

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

          def time_zone
            payload.using(/ ([A-Z]*)$/).fetch('observation_time')
          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/timezone.rb
barometer-0.9.4 lib/barometer/weather_services/noaa/response/timezone.rb
barometer-0.9.3 lib/barometer/weather_services/noaa/response/timezone.rb
barometer-0.9.2 lib/barometer/weather_services/noaa/response/timezone.rb
barometer-0.9.1 lib/barometer/weather_services/noaa/response/timezone.rb
barometer-0.9.0 lib/barometer/weather_services/noaa/response/timezone.rb