recurly 2.19.1 → 2.19.3

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: 69469dc138a9a12534568a6c597253329c834f129fa58f38c763ea24ee97268d
4
- data.tar.gz: 6618f8671f3fcdeb8b17b5f26e71af6dd10497ef9f675366811e24058441d9f8
3
+ metadata.gz: 73e765e7fb0fa735ee41b355d7e9b0a3fcde3780e573d7638cfaf739fe04ccee
4
+ data.tar.gz: a30b8b38329f53e35e2a71ef4a93cec81debe8f13ecdf3479b67909c0f74bc0f
5
5
  SHA512:
6
- metadata.gz: aee231e848059714146662a5cafc3df52419c12d710dd755080a8ad0da42dd0ca2aaa03d193bde21693135773aa3a4a60ef80b766aba2bc1b289d9db529a8f5f
7
- data.tar.gz: 3be1e1b82cfc47187f491cbd7f7af9d0d020bcd554ce99eaea6bebe63f3222766cd9c5673ad5d274974d6a27784376aab874b12e5d47c0e18ccc29fa0547d529
6
+ metadata.gz: 1eff4bb945aef93f5263efcf0b338396437eb2c7c506ad786cc4d5e690827f81568a307d49943ae5fd32e89c0434d7e7af83e47eefd47182de543a6bc43de90c
7
+ data.tar.gz: 4bc5a3f62806f23c889f3c98905d381ec0e22968ec1ff2a687fd34391ab9e80d2f755bde854fd1a41c09f0394a0b31b7b276291d5fc43add0caefe19d1c801dc
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.1'
17
+ gem 'recurly', '~> 2.19.3'
18
18
  ```
19
19
 
20
20
  Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
@@ -26,6 +26,9 @@ module Recurly
26
26
  # @return [Pager<Transaction>, []] A pager that yields Transaction for persisted
27
27
  has_many :transactions
28
28
 
29
+ # @return [Pager<ExternalAccount>, []] A pager that yields External Accounts for persisted
30
+ has_many :external_accounts
31
+
29
32
  # @return [Pager<ExternalSubscription>, []] A pager that yields External Subscriptions for persisted
30
33
  has_many :external_subscriptions
31
34
 
@@ -0,0 +1,17 @@
1
+ module Recurly
2
+ class ExternalAccount < Resource
3
+ belongs_to :account
4
+
5
+ define_attribute_methods %w(
6
+ id
7
+ external_account_code
8
+ external_connection_type
9
+ created_at
10
+ updated_at
11
+ )
12
+
13
+ # External Accounts are only writeable and readable through {Account} instances.
14
+ embedded!
15
+ private_class_method :find
16
+ end
17
+ end
@@ -117,6 +117,7 @@ module Recurly
117
117
  billing_info_uuid
118
118
  dunning_campaign_id
119
119
  refundable_total_in_cents
120
+ used_tax_service
120
121
  )
121
122
  alias to_param invoice_number_with_prefix
122
123
 
@@ -1,6 +1,6 @@
1
1
  module Recurly
2
2
  module Version
3
- VERSION = "2.19.1"
3
+ VERSION = "2.19.3"
4
4
 
5
5
  class << self
6
6
  def inspect
data/lib/recurly.rb CHANGED
@@ -20,6 +20,7 @@ module Recurly
20
20
  require 'recurly/credit_payment'
21
21
  require 'recurly/customer_permission'
22
22
  require 'recurly/entitlement'
23
+ require 'recurly/external_account'
23
24
  require 'recurly/external_charge'
24
25
  require 'recurly/external_invoice'
25
26
  require 'recurly/external_product'
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.1
4
+ version: 2.19.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-05 00:00:00.000000000 Z
11
+ date: 2023-04-26 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/dunning_cycle.rb
149
149
  - lib/recurly/entitlement.rb
150
150
  - lib/recurly/error.rb
151
+ - lib/recurly/external_account.rb
151
152
  - lib/recurly/external_charge.rb
152
153
  - lib/recurly/external_invoice.rb
153
154
  - lib/recurly/external_product.rb