tpaga 0.5.1 → 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdcd75f5f2c56a2f2213482741dd17ccac0a9195
4
- data.tar.gz: f878e6599552549af213fa1ddca70c7a8e1eeaab
3
+ metadata.gz: bb67c91af690ffc53fcf6225f01bc2fd243ddc6e
4
+ data.tar.gz: b93e68770c6a24d810f6a6083666aa38be051879
5
5
  SHA512:
6
- metadata.gz: 87b2d897c7327c8ba20a24e2292ee652e2a21ecfd7c5970b553c031294f56fca93a40053a80c9d80866c9cd46f46e57673177524264aa20c1d7f21855982f57a
7
- data.tar.gz: 92967431a3869049d3861fbedb2652720976e4f504c435bc29d684b1521417e8d97c89f811c4e81f85d85f94339927506b2e60123a72e369846bb5d482bab53d
6
+ metadata.gz: e13dd8777f1480022861bc8dff3e7c84a6fb061ebdd692797a4877dc4c0f80627199f7e73738cdb5dd0ec0e6f6799a18ebaa418d94c8f4d73058c365bdd54d63
7
+ data.tar.gz: 134bb1061a9f7f57dd98e4fc6a58d509b193ded404b2528ded96c1564ffdd8ca0cde94311d5730031dc101fd91538153a684b3bcec5a53e9d721e9f4b459ff6b
@@ -1,7 +1,7 @@
1
1
  module Tpaga
2
2
  #
3
3
  class CreditCardCharge < BaseObject
4
- attr_accessor :id, :amount, :tax_amount, :currency, :credit_card, :installments, :order_id, :description, :paid, :customer, :payment_transaction, :third_party_id, :transaction_info
4
+ attr_accessor :id, :amount, :tax_amount, :currency, :credit_card, :installments, :order_id, :description, :paid, :customer, :payment_transaction, :third_party_id, :transaction_info, :error_code, :error_message
5
5
  # attribute mapping from ruby-style variable name to JSON key
6
6
  def self.attribute_map
7
7
  {
@@ -43,8 +43,13 @@ module Tpaga
43
43
  :'payment_transaction' => :'paymentTransaction',
44
44
 
45
45
  #
46
- :'transaction_info' => :'transactionInfo'
46
+ :'transaction_info' => :'transactionInfo',
47
47
 
48
+ #
49
+ :'error_code' => :'errorCode',
50
+
51
+ #
52
+ :'error_message' => :'errorMessage',
48
53
  }
49
54
  end
50
55
 
@@ -64,7 +69,8 @@ module Tpaga
64
69
  :'customer' => :'string',
65
70
  :'payment_transaction' => :'string',
66
71
  :'transaction_info' => :'TransactionInfo',
67
-
72
+ :'error_code' => :'string',
73
+ :'error_message' => :'string',
68
74
  }
69
75
  end
70
76
 
@@ -126,6 +132,14 @@ module Tpaga
126
132
  if attributes[:'transactionInfo']
127
133
  @transaction_info = attributes[:'transactionInfo']
128
134
  end
135
+
136
+ if attributes[:'errorCode']
137
+ @error_code = attributes[:'errorCode']
138
+ end
139
+
140
+ if attributes[:'errorMessage']
141
+ @error_message = attributes[:'errorMessage']
142
+ end
129
143
  end
130
144
  end
131
145
  end
@@ -1,5 +1,5 @@
1
1
  module Tpaga
2
2
  module Swagger
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tpaga
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Ortiz V.
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.5.1
139
+ rubygems_version: 2.5.2
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: TPaga API Ruby Bindings powered by Swagger