paymentrails 0.2.10 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paymentrails/Recipient.rb +2 -0
- data/lib/paymentrails/gateways/GatewayHelper.rb +2 -1
- data/lib/paymentrails.rb +1 -1
- data/paymentrails.gemspec +5 -5
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bbb1c430769eb613279810f4d9d3149ebf96d7a58044cc75df25ad1b853ebc8
|
4
|
+
data.tar.gz: 28b10f2f0cc5c024acd68b4bb5bb9351f319f64c54eeb5688a8e5474029c9350
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96203b85e11a017b37afda30daaee8a66ab332c33e901ab7d4bf1106188e732879fd89e648b4ed4044cd8328dbceb03ffda15b2f95a04f5592b75eebef679f37
|
7
|
+
data.tar.gz: b76bc224610a3c3827f290e777c1914b4fecfac3c0fe57a64233342fa9d28793b72347974f4231f8fe86b99345e0e53eb9e7f481e0a7566e7c07be526b06f253
|
@@ -2,6 +2,7 @@ module PaymentRails
|
|
2
2
|
class Recipient
|
3
3
|
attr_accessor(
|
4
4
|
:id,
|
5
|
+
:routeMinimum,
|
5
6
|
:routeType,
|
6
7
|
:estimatedFees,
|
7
8
|
:referenceId,
|
@@ -15,6 +16,7 @@ module PaymentRails
|
|
15
16
|
:language,
|
16
17
|
:complianceStatus,
|
17
18
|
:dob,
|
19
|
+
:contactEmails,
|
18
20
|
:passport,
|
19
21
|
:updatedAt,
|
20
22
|
:createdAt,
|
@@ -5,7 +5,8 @@ module PaymentRails
|
|
5
5
|
begin
|
6
6
|
klass_instance.send("#{k}=", v)
|
7
7
|
rescue NoMethodError
|
8
|
-
|
8
|
+
# TODO: The API is showing non-public attributes, once we remove them from the API response we can re-add this warning.
|
9
|
+
# warn "[PaymentRails] Unknown attribute #{k} for class #{klass_instance.class.name}"
|
9
10
|
end
|
10
11
|
end
|
11
12
|
|
data/lib/paymentrails.rb
CHANGED
@@ -23,6 +23,6 @@ require 'paymentrails/InvoicePayment'
|
|
23
23
|
|
24
24
|
module PaymentRails
|
25
25
|
def self.client(key, secret, environment = 'production', **optionals)
|
26
|
-
Gateway.new(Configuration.new(key, secret, environment, optionals))
|
26
|
+
Gateway.new(Configuration.new(key, secret, environment, **optionals))
|
27
27
|
end
|
28
28
|
end
|
data/paymentrails.gemspec
CHANGED
@@ -2,11 +2,11 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "paymentrails"
|
5
|
-
s.summary = "
|
6
|
-
s.description = "Ruby SDK for interacting with the
|
7
|
-
s.version = '0.2.
|
8
|
-
s.homepage = 'https://
|
9
|
-
s.email = ['
|
5
|
+
s.summary = "Trolley Ruby SDK"
|
6
|
+
s.description = "Ruby SDK for interacting with the Trolley API"
|
7
|
+
s.version = '0.2.12'
|
8
|
+
s.homepage = 'https://trolley.com/'
|
9
|
+
s.email = ['developer-tools@trolley.com']
|
10
10
|
s.license = "MIT"
|
11
11
|
s.author = "PaymentRails"
|
12
12
|
s.files = Dir.glob ["README.rdoc", "LICENSE", "lib/**/*.{rb,crt}", "spec/**/*", "*.gemspec"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paymentrails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PaymentRails
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -66,9 +66,9 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3'
|
69
|
-
description: Ruby SDK for interacting with the
|
69
|
+
description: Ruby SDK for interacting with the Trolley API
|
70
70
|
email:
|
71
|
-
-
|
71
|
+
- developer-tools@trolley.com
|
72
72
|
executables: []
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
@@ -105,7 +105,7 @@ files:
|
|
105
105
|
- spec/integration/helper.rb
|
106
106
|
- spec/unit/ConfigurationTest.rb
|
107
107
|
- spec/unit/PaymentRailsTest.rb
|
108
|
-
homepage: https://
|
108
|
+
homepage: https://trolley.com/
|
109
109
|
licenses:
|
110
110
|
- MIT
|
111
111
|
metadata: {}
|
@@ -127,5 +127,5 @@ requirements: []
|
|
127
127
|
rubygems_version: 3.1.2
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
|
-
summary:
|
130
|
+
summary: Trolley Ruby SDK
|
131
131
|
test_files: []
|