Class: Wunderground
- Inherits:
-
Thor
- Object
- Thor
- Wunderground
- Defined in:
- lib/wunderground_thor.rb
Constant Summary collapse
- VERSION =
'1.0.0'
- WUNDERGROUND_URL =
"http://www.wunderground.com/"
Instance Method Summary collapse
- #condition ⇒ Object
- #current ⇒ Object
- #feel ⇒ Object
- #high ⇒ Object
- #image ⇒ Object
- #location ⇒ Object
- #low ⇒ Object
- #temp ⇒ Object
Instance Method Details
#condition ⇒ Object
30 31 32 |
# File 'lib/wunderground_thor.rb', line 30 def condition current_conditions["condition"] end |
#current ⇒ Object
10 11 12 |
# File 'lib/wunderground_thor.rb', line 10 def current current_conditions end |
#feel ⇒ Object
35 36 37 |
# File 'lib/wunderground_thor.rb', line 35 def feel current_conditions["feel"] end |
#high ⇒ Object
40 41 42 |
# File 'lib/wunderground_thor.rb', line 40 def high current_conditions["high"] end |
#image ⇒ Object
20 21 22 |
# File 'lib/wunderground_thor.rb', line 20 def image current_conditions["image"] end |
#location ⇒ Object
15 16 17 |
# File 'lib/wunderground_thor.rb', line 15 def location current_conditions["location"] end |
#low ⇒ Object
45 46 47 |
# File 'lib/wunderground_thor.rb', line 45 def low current_conditions["low"] end |
#temp ⇒ Object
25 26 27 |
# File 'lib/wunderground_thor.rb', line 25 def temp current_conditions["temp"] end |