blizzard_api 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/blizzard_api/diablo/community/item.rb +2 -3
- data/lib/blizzard_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d749ca8885288890aa3fd989b55d761520775a0187bc395802152d09a27b57d
|
4
|
+
data.tar.gz: b9da4c8d1aa1c505737a258780e80db4c41a0ea789fef38b7d673cdd5ad3a29b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2320bad31262928a97d77ddf5092ad86a80278ac88572be33a9f252aa639d99973a8c3554b786f3c95fc9a05be0aba099412038eaee56bda11a9e6414221ff40
|
7
|
+
data.tar.gz: 7a9df7fb947da25b9e5ae4e19c6384acfe3f5111f6d4ca2615f4ab87ee80cdfde25bb7cbebde597e2c5bebe4b303a661605e6ff51ef68860c24c07895883c844
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -14,12 +14,11 @@ module BlizzardApi
|
|
14
14
|
# Return information about an item
|
15
15
|
#
|
16
16
|
# @param item_slug [String] Item slug
|
17
|
-
# @param item_id [Integer] Item id
|
18
17
|
# @!macro request_options
|
19
18
|
#
|
20
19
|
# @!macro response
|
21
|
-
def get(
|
22
|
-
api_request "#{base_url(:community)}/data/item/#{
|
20
|
+
def get(item_slug_and_id, options = {})
|
21
|
+
api_request "#{base_url(:community)}/data/item/#{item_slug_and_id}", { ttl: CACHE_TRIMESTER }.merge(options)
|
23
22
|
end
|
24
23
|
end
|
25
24
|
end
|
data/lib/blizzard_api/version.rb
CHANGED