paymentrails-zero 0.2.13 → 0.2.14

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: 502087c7ed2ea4e06131cff8de78c72bae589bcf42d8ea4f88079c1fbb72e44c
4
- data.tar.gz: 61aaf4ca7f89590eea3a6e68676b0747cfc56d7610880374621fb31401badb3e
3
+ metadata.gz: c6accd28505de57a691edd28c9fc96bf946b78f6ab952ab19dffb312825ee616
4
+ data.tar.gz: 285c11bf660d018b89e6722927843ec8bf1c7128ff069301a36bd50770b113fe
5
5
  SHA512:
6
- metadata.gz: 655f04d7146ad8d723ea75628a410558746a9067433b917c97a7de482a11a96272197e377b74fd63c18657043ca3dec311161be40a9feaef251a23604e950928
7
- data.tar.gz: 9ad7ae74c3b120ed3bcbdb65921dedb708a3b30e24f74c70253d61822c9a3aeafc4badd24059504c361a916c52edd608b7a282e084a95922231f73f973bb4733
6
+ metadata.gz: 7cf0473387aeaf65f9cd0a5af82600b8ee6146452a7a590448db1936124fecc74ab2c19c0f0eb9f1f8f51ee265c4d397a15e9fbf04002510c26d652e39d5db50
7
+ data.tar.gz: c2b048e3b01d2933162b0886f2095e3955053c0071679358945033c07ec87d380a400767cdc7c4e97b51856153a27d45fbd2dddfe1a60aef172b630a3e64dfd2
@@ -47,7 +47,7 @@ module PaymentRails
47
47
  'Authorization': generate_authorization(time, endPoint, method, body),
48
48
  'Content-Type': 'application/json',
49
49
  'Trolley-Source': "ruby-sdk_#{spec.version}"}
50
-
50
+
51
51
  if method === "GET"
52
52
  request = Net::HTTP::Get.new(uri.request_uri, headers)
53
53
  elsif method === "POST"
@@ -1,5 +1,6 @@
1
1
  module PaymentRails
2
2
  module GatewayHelper
3
+ # rubocop:disable Lint/SuppressedException
3
4
  def loosely_hydrate_model(klass_instance, attributes)
4
5
  attributes.each do |k, v|
5
6
  begin
@@ -12,5 +13,6 @@ module PaymentRails
12
13
 
13
14
  klass_instance
14
15
  end
16
+ # rubocop:enable Lint/SuppressedException
15
17
  end
16
18
  end
data/paymentrails.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.name = "paymentrails-zero"
5
5
  s.summary = "Trolley Ruby SDK"
6
6
  s.description = "Ruby SDK for interacting with the Trolley API"
7
- s.version = '0.2.13'
7
+ s.version = '0.2.14'
8
8
  s.homepage = 'https://trolley.com/'
9
9
  s.email = ['developer-tools@trolley.com']
10
10
  s.license = "MIT"
@@ -49,6 +49,7 @@ class RecipientTest < Test::Unit::TestCase
49
49
  assert_equal(recipient.status, 'archived')
50
50
  end
51
51
 
52
+ # rubocop:disable Metrics/MethodLength
52
53
  def test_account
53
54
  uuid = SecureRandom.uuid.to_s
54
55
  recipient = @client.recipient.create(
@@ -88,4 +89,5 @@ class RecipientTest < Test::Unit::TestCase
88
89
  accountList = @client.recipient_account.all(recipient.id)
89
90
  assert_equal(1, accountList.count)
90
91
  end
92
+ # rubocop:enable Metrics/MethodLength
91
93
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paymentrails-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - PaymentRails
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-08 00:00:00.000000000 Z
11
+ date: 2023-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv