yummly 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/yummly/connection.rb +2 -2
- data/lib/yummly/version.rb +1 -1
- metadata +1 -1
data/lib/yummly/connection.rb
CHANGED
@@ -5,7 +5,7 @@ module Yummly
|
|
5
5
|
attr_accessor :connection
|
6
6
|
|
7
7
|
def self.get(command, params = {})
|
8
|
-
response = self.api_connection.get(build_uri(command, params))
|
8
|
+
response = self.api_connection.get(self.build_uri(command, params))
|
9
9
|
self.parse_response(response)
|
10
10
|
end
|
11
11
|
|
@@ -29,7 +29,7 @@ module Yummly
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def build_uri(command, params)
|
32
|
-
query_string = build_params_query_string(params)
|
32
|
+
query_string = self.build_params_query_string(params)
|
33
33
|
"/#{self.api_version}/api/#{command}?#{query_string}"
|
34
34
|
end
|
35
35
|
|
data/lib/yummly/version.rb
CHANGED