nike_v2 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nike_v2/resource.rb +1 -1
- data/lib/nike_v2/version.rb +1 -1
- metadata +1 -1
data/lib/nike_v2/resource.rb
CHANGED
@@ -19,7 +19,7 @@ module NikeV2
|
|
19
19
|
|
20
20
|
def fetch_data(*args)
|
21
21
|
args.unshift(api_url)
|
22
|
-
resp = get(*args).parsed_response
|
22
|
+
resp = get(*args).parsed_response.clone
|
23
23
|
|
24
24
|
if !resp['error'].nil? && resp['error'] == RESP_MSG_INVALID_TOKEN
|
25
25
|
raise "#{self.class} invalid or expired token, can not fetch data from server."
|
data/lib/nike_v2/version.rb
CHANGED