recurly 2.19.4 → 2.19.5

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: 407de8a9fa1cb28bcfa93e81ffac582abe4676f29f37444d082882ecee4e6439
4
- data.tar.gz: 9e0dc994281c96b1e21296872074ffc882a91b4e0f57988462e4245511742a5d
3
+ metadata.gz: a23c382033fbf492c9175a8523147ecd76f81c177e54d5d5c5e72b88e0ce6314
4
+ data.tar.gz: 4c5df1f86a7ac02f1b4ca1dfd03dead40fb94266dbc8fc2a00e10f042dfe2d96
5
5
  SHA512:
6
- metadata.gz: 6a80728e4a314b0e18dc550cdbd3ae01c5a76642b4b61c8810b154d5b01cf8b2b559c0801a10b9ebb9addd3ec275f32584741c146ed041b5f295d325dbb2092d
7
- data.tar.gz: 27b1acd0e26837419f77f000c64456c4d8622690365b17308b07bc541d84b3edab6c54a90920358dfb83ee33e58697af62c908e0b16b7ca12fd3d456a613fcf8
6
+ metadata.gz: 796b43f639d6a13a9d6f063f7718fba79488e3f1131c2657ae01534d52205ff36fe24c43908275a2d3741a39a3fd1b4b9becbe06da10d63294859829ee258e62
7
+ data.tar.gz: 3fa5125171b3bf9f5d75315fd4091a930aa532f931d393291ca1d956de6fcb1db28d85a525995885bbe292393d94738f8ec26faf6a45988b9c50911c44a2cc10
data/README.md CHANGED
@@ -14,7 +14,7 @@ Recurly is packaged as a Ruby gem. We recommend you install it with
14
14
  [Bundler](http://gembundler.com/) by adding the following line to your Gemfile:
15
15
 
16
16
  ``` ruby
17
- gem 'recurly', '~> 2.19.4'
17
+ gem 'recurly', '~> 2.19.5'
18
18
  ```
19
19
 
20
20
  Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
@@ -16,6 +16,8 @@ module Recurly
16
16
  # @return [Account]
17
17
  belongs_to :account
18
18
 
19
+ has_one :gateway_attribute, class_name: :GatewayAttribute, readonly: false
20
+
19
21
  define_attribute_methods %w(
20
22
  uuid
21
23
  first_name
@@ -0,0 +1,10 @@
1
+ module Recurly
2
+ # Additional attributes to pass to the gateway
3
+ class GatewayAttribute < Resource
4
+ belongs_to :billing_info, class_name: :BillingInfo
5
+
6
+ define_attribute_methods %w(
7
+ account_reference,
8
+ )
9
+ end
10
+ end
@@ -1,6 +1,6 @@
1
1
  module Recurly
2
2
  module Version
3
- VERSION = "2.19.4"
3
+ VERSION = "2.19.5"
4
4
 
5
5
  class << self
6
6
  def inspect
data/lib/recurly.rb CHANGED
@@ -5,6 +5,7 @@ module Recurly
5
5
  require 'recurly/api'
6
6
  require 'recurly/resource'
7
7
  require 'recurly/shipping_address'
8
+ require 'recurly/gateway_attribute'
8
9
  require 'recurly/billing_info'
9
10
  require 'recurly/custom_field'
10
11
  require 'recurly/account_acquisition'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recurly
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.19.4
4
+ version: 2.19.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-24 00:00:00.000000000 Z
11
+ date: 2023-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -154,6 +154,7 @@ files:
154
154
  - lib/recurly/external_product.rb
155
155
  - lib/recurly/external_product_reference.rb
156
156
  - lib/recurly/external_subscription.rb
157
+ - lib/recurly/gateway_attribute.rb
157
158
  - lib/recurly/gift_card.rb
158
159
  - lib/recurly/helper.rb
159
160
  - lib/recurly/invoice.rb