recurly 2.17.0 → 2.17.1
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 +4 -4
- data/lib/recurly/account.rb +4 -1
- data/lib/recurly/api.rb +1 -1
- data/lib/recurly/note.rb +14 -0
- data/lib/recurly/version.rb +1 -1
- data/lib/recurly/webhook/low_balance_gift_card_notification.rb +6 -0
- data/lib/recurly/webhook.rb +1 -0
- data/lib/recurly.rb +1 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af034077b30e3eb275c880063b1fb538b3eaa47d8505cc890c2cbd9962beed56
|
4
|
+
data.tar.gz: 4b9352c55f04379e26f11e9f465b0c66de0c60a61307c2f801e1c500e23cc8c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d415dc2552689e41bd0c79b1dc87aac8461aa86c21bd84fd3d026ef8828cad8189972b3d0a5e72ec63fa09ac01af7000fcf460a0dc73db0786ee7b4972c596d1
|
7
|
+
data.tar.gz: 41e2a66fcded4b0715d50616f54b727233ac8368c955b47ab0ebf1252dd03864806bcae2e8b7477aed85e82d0c07fceb2583c54a434d83c632a98307eed21305
|
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<Note>, []] A pager that yields Note for persisted
|
30
|
+
has_many :notes
|
31
|
+
|
29
32
|
# @return [Pager<Redemption>, []] A pager that yields Redemptions for persisted
|
30
33
|
has_many :redemptions
|
31
34
|
|
@@ -106,7 +109,7 @@ module Recurly
|
|
106
109
|
# Reopen an account.
|
107
110
|
#
|
108
111
|
# @return [true, false] +true+ when successful, +false+ when unable to
|
109
|
-
# (e.g., the account is already
|
112
|
+
# (e.g., the account is already open), and may raise an exception if the
|
110
113
|
# attempt fails.
|
111
114
|
def reopen
|
112
115
|
return false unless link? :reopen
|
data/lib/recurly/api.rb
CHANGED
data/lib/recurly/note.rb
ADDED
data/lib/recurly/version.rb
CHANGED
data/lib/recurly/webhook.rb
CHANGED
@@ -67,6 +67,7 @@ module Recurly
|
|
67
67
|
autoload :UpdatedBalanceGiftCardNotification, 'recurly/webhook/updated_balance_gift_card_notification'
|
68
68
|
autoload :NewUsageNotification, 'recurly/webhook/new_usage_notification'
|
69
69
|
autoload :TransactionAuthorizedNotification, 'recurly/webhook/transaction_authorized_notification'
|
70
|
+
autoload :LowBalanceGiftCardNotification, 'recurly/webhook/low_balance_gift_card_notification'
|
70
71
|
# This exception is raised if the Webhook Notification initialization fails
|
71
72
|
class NotificationError < Error
|
72
73
|
end
|
data/lib/recurly.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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -181,6 +181,7 @@ files:
|
|
181
181
|
- lib/recurly/juris_detail.rb
|
182
182
|
- lib/recurly/measured_unit.rb
|
183
183
|
- lib/recurly/money.rb
|
184
|
+
- lib/recurly/note.rb
|
184
185
|
- lib/recurly/plan.rb
|
185
186
|
- lib/recurly/purchase.rb
|
186
187
|
- lib/recurly/redemption.rb
|
@@ -212,6 +213,7 @@ files:
|
|
212
213
|
- lib/recurly/webhook/failed_payment_notification.rb
|
213
214
|
- lib/recurly/webhook/gift_card_notification.rb
|
214
215
|
- lib/recurly/webhook/invoice_notification.rb
|
216
|
+
- lib/recurly/webhook/low_balance_gift_card_notification.rb
|
215
217
|
- lib/recurly/webhook/new_account_notification.rb
|
216
218
|
- lib/recurly/webhook/new_charge_invoice_notification.rb
|
217
219
|
- lib/recurly/webhook/new_credit_invoice_notification.rb
|
@@ -271,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
271
273
|
version: '0'
|
272
274
|
requirements: []
|
273
275
|
rubyforge_project:
|
274
|
-
rubygems_version: 2.7.
|
276
|
+
rubygems_version: 2.7.7
|
275
277
|
signing_key:
|
276
278
|
specification_version: 4
|
277
279
|
summary: Recurly API Client
|