nike_v2 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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