tpaga 0.7.0 → 0.7.1

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: a4ca0910c761500cfd6a3644f7f18095dc88022d
4
- data.tar.gz: ed7b487b9c7ea4d813b138494321fd9a69f64fd2
3
+ metadata.gz: 5238064c9fb1b0dabf319d618571deb9533dfef3
4
+ data.tar.gz: 5a3d3e286e78664e9c2a6b9000866ae57107033f
5
5
  SHA512:
6
- metadata.gz: f977828c8cd1df8d5c203df41600f43ec9319fc4d5958b84df94bc22f0ca938e08fe2146cb3128b5a87635e35944b2613d687de8c261d73fb5215d60ab83af8a
7
- data.tar.gz: 006ea4eeee9e915e21b6af059e23ffd66a40808990b294128562abb2709345fe5cf4d342b78fe3bddd2ff650e21decbda45e6596c0393c0fcfaaa0b19cd2ea71
6
+ metadata.gz: 7ed59d1d7475c2c2425145399c06d8cb6e32120d212d780e5439088f2ac255b9de801947e5e798efac7ad49830235edb2221a86c8f8acf5969a36367a9b44147
7
+ data.tar.gz: 3b8e51568f65458b812aa2c6fc11d68715ad57e9c183f26278b0588fe5568fa54b957ef37c38bc4fce0a6a51f70427909e7ec0239c873ac564bc72deed202780
@@ -1,3 +1,7 @@
1
+ ## 0.7.1 - 2017-06-08
2
+
3
+ Added missing field in credit card model (`fingerprint`). Thanks, @vero4karu
4
+
1
5
  ## 0.7.0 - 2017-05-25
2
6
 
3
7
  Added support for new fields in requests to the
@@ -1,7 +1,7 @@
1
1
  module Tpaga
2
2
  #
3
3
  class CreditCard < BaseObject
4
- attr_accessor :id, :bin, :type, :expiration_month, :expiration_year, :card_verification_code, :card_holder_name, :last_four, :customer, :address_line1, :address_line2, :address_city, :address_state, :address_postal_code, :address_country, :validation_charge, :credit_card_checks, :card_holder_legal_id_number, :card_holder_legal_id_type
4
+ attr_accessor :id, :bin, :type, :fingerprint, :expiration_month, :expiration_year, :card_verification_code, :card_holder_name, :last_four, :customer, :address_line1, :address_line2, :address_city, :address_state, :address_postal_code, :address_country, :validation_charge, :credit_card_checks, :card_holder_legal_id_number, :card_holder_legal_id_type
5
5
  # attribute mapping from ruby-style variable name to JSON key
6
6
  def self.attribute_map
7
7
  {
@@ -14,6 +14,9 @@ module Tpaga
14
14
 
15
15
  #
16
16
  :'type' => :'type',
17
+
18
+ #
19
+ :'fingerprint' => :'fingerprint',
17
20
 
18
21
  #
19
22
  :'expiration_month' => :'expirationMonth',
@@ -70,6 +73,7 @@ module Tpaga
70
73
  :'id' => :'string',
71
74
  :'bin' => :'string',
72
75
  :'type' => :'string',
76
+ :'fingerprint' => :'string',
73
77
  :'expiration_month' => :'string',
74
78
  :'expiration_year' => :'string',
75
79
  :'card_verification_code' => :'string',
@@ -108,6 +112,10 @@ module Tpaga
108
112
  if attributes[:'type']
109
113
  @type = attributes[:'type']
110
114
  end
115
+
116
+ if attributes[:'fingerprint']
117
+ @fingerprint = attributes[:'fingerprint']
118
+ end
111
119
 
112
120
  if attributes[:'expirationMonth']
113
121
  @expiration_month = attributes[:'expirationMonth']
@@ -1,5 +1,5 @@
1
1
  module Tpaga
2
2
  module Swagger
3
- VERSION = "0.7.0"
3
+ VERSION = "0.7.1"
4
4
  end
5
5
  end
@@ -4,7 +4,7 @@ require "tpaga/swagger/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "tpaga"
7
- s.date = "2017-05-25"
7
+ s.date = "2017-06-08"
8
8
  s.version = Tpaga::Swagger::VERSION
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Sebastian Ortiz V."]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tpaga
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Ortiz V.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-25 00:00:00.000000000 Z
11
+ date: 2017-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus