connect-sdk-ruby 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5226ecbff9d5a68675562fee6e91074fd51c50946d33013b711b5c9d11fb8cad
4
- data.tar.gz: de4e098950f6383a6b6409c7e40c804f659b984a1043e1b191f05e16b6fefbd0
3
+ metadata.gz: db82002a15569a18577168bdc73048f32a19d096c2b3152821cde6a7d417d29b
4
+ data.tar.gz: bec287414b416a03aa15d6329de263e13299383249e33401e1d0e6a52050a9dc
5
5
  SHA512:
6
- metadata.gz: b5376d448ebfcb7c455ee31029def59bf65dca8f14316112d99ac8bdead74d0816b8140f552c08df01075206082c1cfe21729c86911725cabd7ae3c50c9f13c2
7
- data.tar.gz: b2c70b59bd4862ca6878b7db458ad8122188589fca84a617559f328a6746f275fa6c799a3b78332e8b55233abd75e7f63405eb79b6aecb7e4b856806b9b161cc
6
+ metadata.gz: c046c3733b77d9fc784f959d9bef86635d8a5d158be666b3b19b2bbeeae5622f08901d5fecc121d75d3b744eca06a58c2ff1c5565f2530b059c08bd506ea9733
7
+ data.tar.gz: bf609bc7468475571ae9f4d3ef9d847355c0b964eddb3876cf502fb9a307b6ea91c033b3e4bf90df34d7c98786196fc3b0b1c44f54e1eb2db24e2d9a8819bfc3
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'connect-sdk-ruby'
3
- spec.version = '1.19.0'
3
+ spec.version = '1.20.0'
4
4
  spec.authors = ['Ingenico ePayments']
5
5
  spec.email = ['github@epay.ingenico.com']
6
6
  spec.summary = %q{SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API}
@@ -29,6 +29,9 @@ module Ingenico::Connect::SDK
29
29
  # String
30
30
  attr_accessor :signature_type
31
31
 
32
+ # String
33
+ attr_accessor :unique_mandate_reference
34
+
32
35
  def to_h
33
36
  hash = super
34
37
  add_to_hash(hash, 'alias', @alias)
@@ -37,6 +40,7 @@ module Ingenico::Connect::SDK
37
40
  add_to_hash(hash, 'language', @language)
38
41
  add_to_hash(hash, 'recurrenceType', @recurrence_type)
39
42
  add_to_hash(hash, 'signatureType', @signature_type)
43
+ add_to_hash(hash, 'uniqueMandateReference', @unique_mandate_reference)
40
44
  hash
41
45
  end
42
46
 
@@ -63,6 +67,9 @@ module Ingenico::Connect::SDK
63
67
  if hash.has_key?('signatureType')
64
68
  @signature_type = hash['signatureType']
65
69
  end
70
+ if hash.has_key?('uniqueMandateReference')
71
+ @unique_mandate_reference = hash['uniqueMandateReference']
72
+ end
66
73
  end
67
74
  end
68
75
  end
@@ -37,6 +37,12 @@ module Ingenico::Connect::SDK
37
37
  # String
38
38
  attr_accessor :transaction_channel
39
39
 
40
+ # String
41
+ attr_accessor :unscheduled_card_on_file_indicator
42
+
43
+ # String
44
+ attr_accessor :unscheduled_card_on_file_requestor
45
+
40
46
  def to_h
41
47
  hash = super
42
48
  add_to_hash(hash, 'authorizationMode', @authorization_mode)
@@ -48,6 +54,8 @@ module Ingenico::Connect::SDK
48
54
  add_to_hash(hash, 'token', @token)
49
55
  add_to_hash(hash, 'tokenize', @tokenize)
50
56
  add_to_hash(hash, 'transactionChannel', @transaction_channel)
57
+ add_to_hash(hash, 'unscheduledCardOnFileIndicator', @unscheduled_card_on_file_indicator)
58
+ add_to_hash(hash, 'unscheduledCardOnFileRequestor', @unscheduled_card_on_file_requestor)
51
59
  hash
52
60
  end
53
61
 
@@ -80,6 +88,12 @@ module Ingenico::Connect::SDK
80
88
  if hash.has_key?('transactionChannel')
81
89
  @transaction_channel = hash['transactionChannel']
82
90
  end
91
+ if hash.has_key?('unscheduledCardOnFileIndicator')
92
+ @unscheduled_card_on_file_indicator = hash['unscheduledCardOnFileIndicator']
93
+ end
94
+ if hash.has_key?('unscheduledCardOnFileRequestor')
95
+ @unscheduled_card_on_file_requestor = hash['unscheduledCardOnFileRequestor']
96
+ end
83
97
  end
84
98
  end
85
99
  end
@@ -5,7 +5,7 @@ module Ingenico::Connect::SDK
5
5
 
6
6
  # Manages metadata about the server using the SDK
7
7
  class MetaDataProvider
8
- @@SDK_VERSION = '1.19.0'
8
+ @@SDK_VERSION = '1.20.0'
9
9
  @@SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'
10
10
  @@PROHIBITED_HEADERS = [@@SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key',
11
11
  'Date', 'Content-Type', 'Authorization'].sort!.freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: connect-sdk-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ingenico ePayments
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-05 00:00:00.000000000 Z
11
+ date: 2018-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -623,7 +623,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
623
623
  version: '0'
624
624
  requirements: []
625
625
  rubyforge_project:
626
- rubygems_version: 2.7.4
626
+ rubygems_version: 2.7.6
627
627
  signing_key:
628
628
  specification_version: 4
629
629
  summary: SDK to communicate with the Ingenico ePayments platform using the Ingenico