Class: Wunderground

Inherits:
Thor
  • Object
show all
Defined in:
lib/wunderground_thor.rb

Constant Summary collapse

VERSION =
'1.0.0'
WUNDERGROUND_URL =
"http://www.wunderground.com/"

Instance Method Summary collapse

Instance Method Details

#conditionObject



30
31
32
# File 'lib/wunderground_thor.rb', line 30

def condition
  current_conditions["condition"]
end

#currentObject



10
11
12
# File 'lib/wunderground_thor.rb', line 10

def current
  current_conditions
end

#feelObject



35
36
37
# File 'lib/wunderground_thor.rb', line 35

def feel
  current_conditions["feel"]
end

#highObject



40
41
42
# File 'lib/wunderground_thor.rb', line 40

def high
  current_conditions["high"]
end

#imageObject



20
21
22
# File 'lib/wunderground_thor.rb', line 20

def image
  current_conditions["image"]
end

#locationObject



15
16
17
# File 'lib/wunderground_thor.rb', line 15

def location
  current_conditions["location"]
end

#lowObject



45
46
47
# File 'lib/wunderground_thor.rb', line 45

def low
  current_conditions["low"]
end

#tempObject



25
26
27
# File 'lib/wunderground_thor.rb', line 25

def temp
  current_conditions["temp"]
end