processout 2.11.0 → 2.11.1

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
  SHA1:
3
- metadata.gz: 13f4ad30b2ad834076735be1d4cbeeb2906e1bc6
4
- data.tar.gz: dbd93f0556a3d448d86160fce717ef5c1bb7a949
3
+ metadata.gz: fb0cf907fe612fac147f5b709b2987b938bf2742
4
+ data.tar.gz: 226c2afb57ef7b95503cfe005b47001841b0a6b4
5
5
  SHA512:
6
- metadata.gz: 6fc76ce22f5529b44be62c7caa0970452d8df105546915e857eae9dd8099ab1ba8b3d3858d1c396ed9ebcbd824d3951f8e072312fdd5b54088374e1e4648d626
7
- data.tar.gz: c7346af3770313619191962ddab1fa768a87eda0b7757197999719fd9d9daeb4856f10b9abd638fc7afc0a1d6837c5c3add1d88f7d0c5208f3db67410021a048
6
+ metadata.gz: dfee5e1e56b02a43e21178dc41e8fca799352d1b435a5c19bfc0217dcfe08aaa8ffbacf62809de22d8acfbebb6619cb8cf6461bf340421b749381583844717d0
7
+ data.tar.gz: e7f2f6b1d12abeea2a15dbd21b033a3ab216685bece2c8a8eb323ad0330ecde94f8e378cec2ab6f08962478f00b2dcd292e7a54746bf34ea051e84f06e63fe75
@@ -23,6 +23,7 @@ module ProcessOut
23
23
  attr_reader :name
24
24
  attr_reader :amount
25
25
  attr_reader :currency
26
+ attr_reader :merchant_initiator_type
26
27
  attr_reader :statement_descriptor
27
28
  attr_reader :statement_descriptor_phone
28
29
  attr_reader :statement_descriptor_city
@@ -179,6 +180,10 @@ module ProcessOut
179
180
  @currency = val
180
181
  end
181
182
 
183
+ def merchant_initiator_type=(val)
184
+ @merchant_initiator_type = val
185
+ end
186
+
182
187
  def statement_descriptor=(val)
183
188
  @statement_descriptor = val
184
189
  end
@@ -295,6 +300,7 @@ module ProcessOut
295
300
  self.name = data.fetch(:name, nil)
296
301
  self.amount = data.fetch(:amount, nil)
297
302
  self.currency = data.fetch(:currency, nil)
303
+ self.merchant_initiator_type = data.fetch(:merchant_initiator_type, nil)
298
304
  self.statement_descriptor = data.fetch(:statement_descriptor, nil)
299
305
  self.statement_descriptor_phone = data.fetch(:statement_descriptor_phone, nil)
300
306
  self.statement_descriptor_city = data.fetch(:statement_descriptor_city, nil)
@@ -372,6 +378,9 @@ module ProcessOut
372
378
  if data.include? "currency"
373
379
  self.currency = data["currency"]
374
380
  end
381
+ if data.include? "merchant_initiator_type"
382
+ self.merchant_initiator_type = data["merchant_initiator_type"]
383
+ end
375
384
  if data.include? "statement_descriptor"
376
385
  self.statement_descriptor = data["statement_descriptor"]
377
386
  end
@@ -441,6 +450,7 @@ module ProcessOut
441
450
  self.name = data.fetch(:name, self.name)
442
451
  self.amount = data.fetch(:amount, self.amount)
443
452
  self.currency = data.fetch(:currency, self.currency)
453
+ self.merchant_initiator_type = data.fetch(:merchant_initiator_type, self.merchant_initiator_type)
444
454
  self.statement_descriptor = data.fetch(:statement_descriptor, self.statement_descriptor)
445
455
  self.statement_descriptor_phone = data.fetch(:statement_descriptor_phone, self.statement_descriptor_phone)
446
456
  self.statement_descriptor_city = data.fetch(:statement_descriptor_city, self.statement_descriptor_city)
@@ -688,6 +698,7 @@ module ProcessOut
688
698
  "currency" => @currency,
689
699
  "metadata" => @metadata,
690
700
  "details" => @details,
701
+ "merchant_initiator_type" => @merchant_initiator_type,
691
702
  "statement_descriptor" => @statement_descriptor,
692
703
  "statement_descriptor_phone" => @statement_descriptor_phone,
693
704
  "statement_descriptor_city" => @statement_descriptor_city,
@@ -13,7 +13,7 @@ module ProcessOut
13
13
  req.basic_auth @client.project_id, @client.project_secret
14
14
  req.content_type = "application/json"
15
15
  req["API-Version"] = "1.4.0.0"
16
- req["User-Agent"] = "ProcessOut Ruby-Bindings/2.11.0"
16
+ req["User-Agent"] = "ProcessOut Ruby-Bindings/2.11.1"
17
17
 
18
18
  unless options.nil?
19
19
  req["Idempotency-Key"] = options.fetch(:idempotency_key, "")
@@ -1,3 +1,3 @@
1
1
  module ProcessOut
2
- VERSION = "2.11.0"
2
+ VERSION = "2.11.1"
3
3
  end
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.11.0
4
+ version: 2.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel HUEZ
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-06 00:00:00.000000000 Z
11
+ date: 2019-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler