tpaga 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tpaga/models/validation_charge.rb +5 -5
- data/lib/tpaga/swagger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdcd75f5f2c56a2f2213482741dd17ccac0a9195
|
4
|
+
data.tar.gz: f878e6599552549af213fa1ddca70c7a8e1eeaab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87b2d897c7327c8ba20a24e2292ee652e2a21ecfd7c5970b553c031294f56fca93a40053a80c9d80866c9cd46f46e57673177524264aa20c1d7f21855982f57a
|
7
|
+
data.tar.gz: 92967431a3869049d3861fbedb2652720976e4f504c435bc29d684b1521417e8d97c89f811c4e81f85d85f94339927506b2e60123a72e369846bb5d482bab53d
|
@@ -1,13 +1,13 @@
|
|
1
1
|
module Tpaga
|
2
2
|
#
|
3
3
|
class ValidationCharge < BaseObject
|
4
|
-
attr_accessor :
|
4
|
+
attr_accessor :successful, :error_code
|
5
5
|
# attribute mapping from ruby-style variable name to JSON key
|
6
6
|
def self.attribute_map
|
7
7
|
{
|
8
8
|
|
9
9
|
#
|
10
|
-
:'
|
10
|
+
:'successful' => :'successful',
|
11
11
|
|
12
12
|
#
|
13
13
|
:'error_code' => :'errorCode',
|
@@ -18,7 +18,7 @@ module Tpaga
|
|
18
18
|
# attribute type
|
19
19
|
def self.swagger_types
|
20
20
|
{
|
21
|
-
:'
|
21
|
+
:'successful' => :'boolean',
|
22
22
|
:'error_code' => :'string',
|
23
23
|
|
24
24
|
}
|
@@ -31,8 +31,8 @@ module Tpaga
|
|
31
31
|
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
32
32
|
|
33
33
|
|
34
|
-
if attributes[:'
|
35
|
-
@authorization_code = attributes[:'
|
34
|
+
if attributes[:'successful']
|
35
|
+
@authorization_code = attributes[:'successful']
|
36
36
|
end
|
37
37
|
|
38
38
|
if attributes[:'errorCode']
|