recurly 2.18.22 → 2.18.23

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: 89370fbc69e2a1dc5dc317f45c0b3be37fad9b22d7fd0186416312f6cdfbe68c
4
- data.tar.gz: 34a070a7121166d2e810bbf27313d792e657f681c74ce9139938e52cc4924f85
3
+ metadata.gz: fd2a6275f99c0018d36fbaa9e825dc17b559ea85e7de03e0c939b36110e5f3a9
4
+ data.tar.gz: a73a5a0fdc4a711e78441be22b9f3a4f5244b60214d8b9a3ec8a0f0121268d7c
5
5
  SHA512:
6
- metadata.gz: a56882820ac3dd3cc339e5d9e0d23ab3d17c425754199f6ed7e39b8cddb75ab5c4760a5ccc4b948552f85005ce8ea1256b5e4dd29bd57747bc7e5b2476081e71
7
- data.tar.gz: 89dde5248e08a6f9b2d521df965c5de159fd73d5e96518a8d4e78e878de50b44f464aebbef0aaf3aa493622bb1919de18f7ab48b98bae29615267a0575688152
6
+ metadata.gz: edc527fa06b7b42d791c54b6be18625ceb2004b2e7d0f55adc092f83d0ea5a9acd4ae22953be7304007996b134f6492e828b6e41d4426e4a8c3613f7205ac18b
7
+ data.tar.gz: 344b0d5627a8876373297f23d9648002a37f1897d3be6b6c8feac5021e6b07af9426f929bcf885e5ccd709d8173e53fb9d5604ed45c8b74ee0f7e284eacea8d4
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.18.22'
17
+ gem 'recurly', '~> 2.18.23'
18
18
  ```
19
19
 
20
20
  Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
@@ -57,6 +57,9 @@ module Recurly
57
57
  # @return [AccountAcquisition, nil]
58
58
  has_one :account_acquisition, class_name: :AccountAcquisition, readonly: false
59
59
 
60
+ # @return [InvoiceTemplate, nil]
61
+ belongs_to :invoice_template, class_name: :InvoiceTemplate, readonly: true
62
+
60
63
  # Get's the first redemption given a coupon code
61
64
  # @deprecated Use #{redemptions} instead
62
65
  # @param coupon_code [String] The coupon code for the redemption
@@ -96,6 +99,7 @@ module Recurly
96
99
  preferred_locale
97
100
  transaction_type
98
101
  dunning_campaign_id
102
+ invoice_template_uuid
99
103
  )
100
104
  alias to_param account_code
101
105
 
@@ -46,6 +46,7 @@ module Recurly
46
46
  primary_payment_method
47
47
  backup_payment_method
48
48
  cc_bin_country
49
+ online_banking_payment_type
49
50
  ) | CREDIT_CARD_ATTRIBUTES | BANK_ACCOUNT_ATTRIBUTES | AMAZON_ATTRIBUTES | PAYPAL_ATTRIBUTES | ROKU_ATTRIBUTES | SEPA_ATTRIBUTES | BACS_ATTRIBUTES | BECS_ATTRIBUTES
50
51
 
51
52
  # Verify an account's stored billing info
@@ -0,0 +1,14 @@
1
+ module Recurly
2
+ class InvoiceTemplate < Resource
3
+ has_many :accounts, class_name: :Account, readonly: true
4
+
5
+ define_attribute_methods %w(
6
+ uuid
7
+ name
8
+ code
9
+ description
10
+ created_at
11
+ updated_at
12
+ )
13
+ end
14
+ end
@@ -1,6 +1,6 @@
1
1
  module Recurly
2
2
  module Version
3
- VERSION = "2.18.22"
3
+ VERSION = "2.18.23"
4
4
 
5
5
  class << self
6
6
  def inspect
data/lib/recurly.rb CHANGED
@@ -44,6 +44,7 @@ module Recurly
44
44
  require 'recurly/tier'
45
45
  require 'recurly/dunning_campaign'
46
46
  require 'recurly/dunning_cycle'
47
+ require 'recurly/invoice_template'
47
48
 
48
49
  @subdomain = nil
49
50
 
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.18.22
4
+ version: 2.18.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -148,6 +148,7 @@ files:
148
148
  - lib/recurly/helper.rb
149
149
  - lib/recurly/invoice.rb
150
150
  - lib/recurly/invoice_collection.rb
151
+ - lib/recurly/invoice_template.rb
151
152
  - lib/recurly/item.rb
152
153
  - lib/recurly/js.rb
153
154
  - lib/recurly/juris_detail.rb