tessitura_rest 1.3.7 → 1.3.8

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: 4b63297217de813e0f85f0a084f84114e4f7f07d30494412af57fedeae7109c9
4
- data.tar.gz: 77afcb8d828ff0fdf6f91eb36a6966f8fd02d96c91c060d2ecb2f5cffb5f6c19
3
+ metadata.gz: ee751d94feccf319e2fb58fe9c89e3886ff8bef25e69c8610ca794b311bd7eae
4
+ data.tar.gz: fc995be460714a2e19159e983bb1fc9f256b1d2d1c78a0d7cee91899c2610901
5
5
  SHA512:
6
- metadata.gz: 0e7e4561647593ebaeb89f6435fcae4d3f05d76e5e04df145796c4ae0b8934254ed911335eac8df197e455f40255bd004f89e223ce526f08176c77c785962941
7
- data.tar.gz: 43e6876be0fceb51d0ef0c1bdee0d230ffc7ccd4b6c7f4094ed19728d2a51e404735d02e0e52c26be4eed89db8d34b35fb0f5c1ff147acad59773860c696755f
6
+ metadata.gz: f4702d0b7eae978558fdce4c842cef8cdd5f207cedad4c01b071d69920624f6878d942c77ea5374816efe99b3ff2d98f3f634e6a686675964b1586047b1fa9ba
7
+ data.tar.gz: 12dba5e228fa5fcfdbaf049f001d445e7557e51c3859db894b3169c8c70b616fcb692f9439a428981265b9f0ec9d7e65f0832ad4bfded52ab9bbb11ad8226eeb
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '1.3.7'.freeze
2
+ VERSION = '1.3.8'.freeze
3
3
  end
@@ -297,7 +297,7 @@ module Cart
297
297
  self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Checkout"), options)
298
298
  end
299
299
 
300
- def checkout_with_tms(session_key, order_authorization_code, order_amount, allow_under_payment, payment_method_id, payment_reference, authorize, options = {})
300
+ def checkout_with_tms(session_key, order_authorization_code, order_amount, allow_under_payment, payment_method_id, payment_reference, authorize, shopper_ip, options = {})
301
301
  parameters =
302
302
  {
303
303
  'CreditCardType': payment_method_id,
@@ -307,6 +307,7 @@ module Cart
307
307
  'ECommerce': true,
308
308
  'AuthorizationCode': order_authorization_code,
309
309
  'PaymentReference': payment_reference,
310
+ 'ShopperIp': shopper_ip,
310
311
  }
311
312
  options.merge!(basic_auth: @auth, headers: @headers)
312
313
  options.merge!(:body => parameters.to_json, :headers => { 'Content-Type' => 'application/json' })
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tessitura_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-30 00:00:00.000000000 Z
11
+ date: 2023-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler