recurly 2.17.7 → 2.17.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/recurly/account.rb +7 -0
- data/lib/recurly/api.rb +1 -1
- data/lib/recurly/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d56fc67c38893f7150cf98085a9078f7a8991f439c7a76ecd127dcec487a27ee
|
4
|
+
data.tar.gz: 734ddfbc88973d688cc040052693703b7ce8d81e9e2ec56f6896bad2c54550b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92b0e2a83bd77dbb38a16b4c2ced2d652a1066decf06ca5eff3e99d65cc171b5b746a634e629a021ad5c95567fbac7d2c3f27678e0297fe2d6a04c649af14568
|
7
|
+
data.tar.gz: cb8a90f7f6f6d4ad5b06615a1e334fa9d43c5e201cf59eceaa99dabcf664ac3a2c684d712dd0724ba2ab1b5649da26c101d59fb0248128c2e29468cbfac30388
|
data/lib/recurly/account.rb
CHANGED
@@ -42,6 +42,12 @@ module Recurly
|
|
42
42
|
# @return [AccountBalance, nil]
|
43
43
|
has_one :account_balance, readonly: true
|
44
44
|
|
45
|
+
# @return [Account, nil]
|
46
|
+
belongs_to :parent_account, class_name: :Account
|
47
|
+
|
48
|
+
# @return [Pager<Account>, []] A pager that yields Account for persisted
|
49
|
+
has_many :child_accounts, class_name: :Account
|
50
|
+
|
45
51
|
# @return [Pager<CreditPayment>, []]
|
46
52
|
has_many :credit_payments, class_name: :CreditPayment, readonly: true
|
47
53
|
|
@@ -60,6 +66,7 @@ module Recurly
|
|
60
66
|
|
61
67
|
define_attribute_methods %w(
|
62
68
|
account_code
|
69
|
+
parent_account_code
|
63
70
|
state
|
64
71
|
username
|
65
72
|
email
|
data/lib/recurly/api.rb
CHANGED
data/lib/recurly/version.rb
CHANGED
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.17.
|
4
|
+
version: 2.17.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|