class Weathercom::Metadata

Public Class Methods

new(info) click to toggle source
# File lib/weathercom/metadata.rb, line 5
def initialize(info)
  @info = info.dup.freeze
end

Public Instance Methods

expires_at() click to toggle source
# File lib/weathercom/metadata.rb, line 20
def expires_at
  @expires_at ||= Time.at(expire_time_gmt)
end