Class: WeatherUnderground::AlertExpires

Inherits:
Object
  • Object
show all
Includes:
HappyMapper
Defined in:
lib/weather-underground/alerts.rb

Instance Method Summary collapse

Instance Method Details

#datetimeObject



17
18
19
# File 'lib/weather-underground/alerts.rb', line 17

def datetime
    Time.at( @epoch )
end

#textObject



13
14
15
# File 'lib/weather-underground/alerts.rb', line 13

def text
    @text
end