pokemon_tcg_sdk 4.4.0 → 4.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/lib/pokemon_tcg_sdk/tcgplayer.rb +3 -1
- data/lib/pokemon_tcg_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c61f1b5ef5d8083b7915ca9d64e14e754fef3598bd1d58e3d5f4a4727f352b1
|
4
|
+
data.tar.gz: fdcb08c10a6c550ed4cc616871e2d9ab6b0122cbd5e8c301aa5c99eee2ce1685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10315159ee4ff57a3f967732f35d6f0ed86e02cd4ef5c87fdd76b3523b6bac6095d8d6cdb1b6662072621187cb79476e7a337b895a9e097ef646f85e74777316
|
7
|
+
data.tar.gz: 90335d1a500062cb5961cdfa0758ded340909648de8e3ff2c2c88331ca0d32c1b8aba2a18213db02bd53aea1a7f8980f0a56a210eb722cbf0237c89beaccd274
|
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ module Pokemon
|
|
13
13
|
end
|
14
14
|
|
15
15
|
class TcgPlayerPrices
|
16
|
-
attr_accessor :normal, :holofoil, :reverse_holofoil, :first_edition_holofoil, :first_edition_normal
|
16
|
+
attr_accessor :normal, :holofoil, :reverse_holofoil, :first_edition_holofoil, :first_edition_normal, :first_edition, :unlimited
|
17
17
|
|
18
18
|
def self.from_json(json)
|
19
19
|
price = TcgPlayerPrices.new
|
@@ -22,6 +22,8 @@ module Pokemon
|
|
22
22
|
price.reverse_holofoil = TcgPlayerPriceValues.from_json(json['reverseHolofoil']) if !json['reverseHolofoil'].nil?
|
23
23
|
price.first_edition_holofoil = TcgPlayerPriceValues.from_json(json['1stEditionHolofoil']) if !json['1stEditionHolofoil'].nil?
|
24
24
|
price.first_edition_normal = TcgPlayerPriceValues.from_json(json['1stEditionNormal']) if !json['1stEditionNormal'].nil?
|
25
|
+
price.first_edition = TcgPlayerPriceValues.from_json(json['1stEdition']) if !json['1stEdition'].nil?
|
26
|
+
price.unlimited = TcgPlayerPriceValues.from_json(json['unlimited']) if !json['unlimited'].nil?
|
25
27
|
|
26
28
|
price
|
27
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pokemon_tcg_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Backes
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|