Class: WeatherUnderground::AlertDate

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

Instance Method Summary collapse

Instance Method Details

#datetimeObject



34
35
36
# File 'lib/weather-underground/alerts.rb', line 34

def datetime
    Time.at( @epoch )
end

#textObject



30
31
32
# File 'lib/weather-underground/alerts.rb', line 30

def text
    @text
end