processout 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/processout/card_information.rb +10 -0
- data/lib/processout/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a08f18d7c9a787ab4794501e332628431601980c
|
4
|
+
data.tar.gz: b036f6e257b82406f466ba76a4ec50faec27769f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb9b7e4c8b528a7574296addc11e81451b3df458f946c042180c50eea95bbb2b7233ca59784051c504879796c7b1d0fde1fb9adb7d8ef0217497966243333f70
|
7
|
+
data.tar.gz: cc62c9da4980ffeec11b3f448fedededc2d68a38249f5f25db2cd5f836388ae5351c8da612a94ee66be45be5cd31734b126991592cfa603d6e7e83a8b68759fe
|
@@ -12,6 +12,7 @@ module ProcessOut
|
|
12
12
|
attr_reader :type
|
13
13
|
attr_reader :bank_name
|
14
14
|
attr_reader :brand
|
15
|
+
attr_reader :category
|
15
16
|
attr_reader :country
|
16
17
|
|
17
18
|
|
@@ -35,6 +36,10 @@ module ProcessOut
|
|
35
36
|
@brand = val
|
36
37
|
end
|
37
38
|
|
39
|
+
def category=(val)
|
40
|
+
@category = val
|
41
|
+
end
|
42
|
+
|
38
43
|
def country=(val)
|
39
44
|
@country = val
|
40
45
|
end
|
@@ -52,6 +57,7 @@ module ProcessOut
|
|
52
57
|
self.type = data.fetch(:type, nil)
|
53
58
|
self.bank_name = data.fetch(:bank_name, nil)
|
54
59
|
self.brand = data.fetch(:brand, nil)
|
60
|
+
self.category = data.fetch(:category, nil)
|
55
61
|
self.country = data.fetch(:country, nil)
|
56
62
|
|
57
63
|
end
|
@@ -83,6 +89,9 @@ module ProcessOut
|
|
83
89
|
if data.include? "brand"
|
84
90
|
self.brand = data["brand"]
|
85
91
|
end
|
92
|
+
if data.include? "category"
|
93
|
+
self.category = data["category"]
|
94
|
+
end
|
86
95
|
if data.include? "country"
|
87
96
|
self.country = data["country"]
|
88
97
|
end
|
@@ -102,6 +111,7 @@ module ProcessOut
|
|
102
111
|
self.type = data.fetch(:type, self.type)
|
103
112
|
self.bank_name = data.fetch(:bank_name, self.bank_name)
|
104
113
|
self.brand = data.fetch(:brand, self.brand)
|
114
|
+
self.category = data.fetch(:category, self.category)
|
105
115
|
self.country = data.fetch(:country, self.country)
|
106
116
|
|
107
117
|
self
|
data/lib/processout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: processout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel HUEZ
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
129
|
+
rubygems_version: 2.5.2
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: Ruby bindings for the ProcessOut API
|