paymentrails 0.2.10 → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de20eb1c3acb982d1306b963f86928eb8ea02f3ecb761867f429604356f09230
4
- data.tar.gz: 5979525e925822b4e4021b26deee565e1ed1c22871697ae8d9cfc109d4c431e2
3
+ metadata.gz: 3bbb1c430769eb613279810f4d9d3149ebf96d7a58044cc75df25ad1b853ebc8
4
+ data.tar.gz: 28b10f2f0cc5c024acd68b4bb5bb9351f319f64c54eeb5688a8e5474029c9350
5
5
  SHA512:
6
- metadata.gz: a2cb8e7a7fa9607dc308f89d164d135a281ccd5a528c9b368db1bc01aab28f366ab1a63a0e6ea23886d47950fc9fa7f635981beafc2b9a667eec426aa81c5959
7
- data.tar.gz: a7d20fa103dd5dc444c4725b07289cad0e5b7ba81a5ae18c4b70ce1b70c413b4fe0b1e9316abb7c63c594f0ffc0aaecfccd59760b82ab745bc9f0a5c610269cc
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
- warn "[PaymentRails] Unknown attribute #{k} for class #{klass_instance.class.name}"
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 = "PaymentRails Ruby SDK"
6
- s.description = "Ruby SDK for interacting with the PaymentRails API"
7
- s.version = '0.2.10'
8
- s.homepage = 'https://www.paymentrails.com/'
9
- s.email = ['joshua@paymentrails.com']
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.10
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-02-10 00:00:00.000000000 Z
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 PaymentRails API
69
+ description: Ruby SDK for interacting with the Trolley API
70
70
  email:
71
- - joshua@paymentrails.com
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://www.paymentrails.com/
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: PaymentRails Ruby SDK
130
+ summary: Trolley Ruby SDK
131
131
  test_files: []