paymentrails-zero 0.2.13 → 0.2.15

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: db476797242d882917d9d637857ce39e9e015592be27f1b8cc063fb96a1ac28f
4
+ data.tar.gz: 4eb606c9e586c4b84e6509d566d80a1b999490f262ff275f2d254947ae846770
5
5
  SHA512:
6
- metadata.gz: 655f04d7146ad8d723ea75628a410558746a9067433b917c97a7de482a11a96272197e377b74fd63c18657043ca3dec311161be40a9feaef251a23604e950928
7
- data.tar.gz: 9ad7ae74c3b120ed3bcbdb65921dedb708a3b30e24f74c70253d61822c9a3aeafc4badd24059504c361a916c52edd608b7a282e084a95922231f73f973bb4733
6
+ metadata.gz: 90c893e8dc091b9c792785ebd0489783f73b77b3cb69375be8ebfffae2a888978e206a6eac204777b6bcc17af792040d6246e9b45b183bffcff391c2d122d0e0
7
+ data.tar.gz: ff6e8e773b03ed78b9bbc473fa7297845c7ceec10ed13de8921ce31081f89bf0a23eb13deecce30efd4e4a0fc07c5f74ca5044bd49d985a6f1566b1e0937124e
@@ -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.15'
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.15
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
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.1.6
127
+ rubygems_version: 3.4.10
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Trolley Ruby SDK