Skip to content

Commit 0ca8db5

Browse files
committed
Fixed Function name Error
1 parent bfee0bb commit 0ca8db5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/open_weather_api.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
module OpenWeather
22
autoload :Current, "./open_weather_api/current_weather"
33
autoload :Base, "./open_weather_api/base"
4-
54
end

lib/open_weather_api/current_weather.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ class Current < Base
77
def self.city(city, options = { })
88
query = Hash.new
99
query[:q] = city
10-
run_call query.merge!(options), @api_url
10+
send_request query.merge!(options), @api_url
1111
end
1212
end
13-
end
13+
end
14+
15+
16+

0 commit comments

Comments
 (0)