recurly 2.19.1 → 2.19.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/recurly/account.rb +3 -0
- data/lib/recurly/external_account.rb +17 -0
- data/lib/recurly/version.rb +1 -1
- data/lib/recurly.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78a911890e95a355e15e18b017a40fa30d77ca25811ab1d4e21a969de9ccb7ac
|
4
|
+
data.tar.gz: 4813da5d280219de0628581f9c25f88725a15ceed202efc13294123ce5500ec0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ade8c36ad60e972428f7b8678828ac211ee7fd5793c1a9fd5d2841497cb524c48318dd887eab6d405754da1dfe76b973ddbf39a4e5e8ed0fbc4c35d531289232
|
7
|
+
data.tar.gz: 3c559a202bfe646e457d8228ec8f220143c51bd42a76d394e47a1a88914f7b6a7d6279d306e216eb881df3c4942d8a2fe8745207f593249f54a35c21dbd404c1
|
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.
|
17
|
+
gem 'recurly', '~> 2.19.2'
|
18
18
|
```
|
19
19
|
|
20
20
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
data/lib/recurly/account.rb
CHANGED
@@ -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
|
data/lib/recurly/version.rb
CHANGED
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.
|
4
|
+
version: 2.19.2
|
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-
|
11
|
+
date: 2023-04-13 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
|