recurly 2.18.18 → 2.18.22
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 +20 -0
- data/lib/recurly/adjustment.rb +2 -0
- data/lib/recurly/billing_info.rb +4 -0
- data/lib/recurly/dunning_campaign.rb +30 -0
- data/lib/recurly/dunning_cycle.rb +18 -0
- data/lib/recurly/invoice.rb +5 -0
- data/lib/recurly/plan.rb +1 -0
- data/lib/recurly/purchase.rb +4 -0
- data/lib/recurly/resource.rb +1 -1
- data/lib/recurly/subscription.rb +9 -8
- data/lib/recurly/tax_detail.rb +2 -0
- data/lib/recurly/version.rb +1 -1
- data/lib/recurly/webhook/prerenewal_notification.rb +6 -0
- data/lib/recurly/webhook/scheduled_subscription_update_notification.rb +6 -0
- data/lib/recurly/webhook.rb +71 -69
- data/lib/recurly.rb +2 -0
- metadata +9 -87
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89370fbc69e2a1dc5dc317f45c0b3be37fad9b22d7fd0186416312f6cdfbe68c
|
4
|
+
data.tar.gz: 34a070a7121166d2e810bbf27313d792e657f681c74ce9139938e52cc4924f85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a56882820ac3dd3cc339e5d9e0d23ab3d17c425754199f6ed7e39b8cddb75ab5c4760a5ccc4b948552f85005ce8ea1256b5e4dd29bd57747bc7e5b2476081e71
|
7
|
+
data.tar.gz: 89dde5248e08a6f9b2d521df965c5de159fd73d5e96518a8d4e78e878de50b44f464aebbef0aaf3aa493622bb1919de18f7ab48b98bae29615267a0575688152
|
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.
|
17
|
+
gem 'recurly', '~> 2.18.22'
|
18
18
|
```
|
19
19
|
|
20
20
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
data/lib/recurly/account.rb
CHANGED
@@ -95,6 +95,7 @@ module Recurly
|
|
95
95
|
has_paused_subscription
|
96
96
|
preferred_locale
|
97
97
|
transaction_type
|
98
|
+
dunning_campaign_id
|
98
99
|
)
|
99
100
|
alias to_param account_code
|
100
101
|
|
@@ -124,6 +125,25 @@ module Recurly
|
|
124
125
|
raise Invalid, e.message
|
125
126
|
end
|
126
127
|
|
128
|
+
def create_billing_info(billing_info)
|
129
|
+
billing_info = billing_info
|
130
|
+
billing_info.uri = "#{path}/billing_infos"
|
131
|
+
billing_info.save!
|
132
|
+
billing_info
|
133
|
+
end
|
134
|
+
|
135
|
+
def get_billing_infos
|
136
|
+
Pager.new(Recurly::BillingInfo, uri: "#{path}/billing_infos", parent: self)
|
137
|
+
rescue Recurly::API::UnprocessableEntity => e
|
138
|
+
raise Invalid, e.message
|
139
|
+
end
|
140
|
+
|
141
|
+
def get_billing_info(billing_info_uuid)
|
142
|
+
BillingInfo.from_response API.get("#{path}/billing_infos/#{billing_info_uuid}")
|
143
|
+
rescue Recurly::API::UnprocessableEntity => e
|
144
|
+
raise Invalid, e.message
|
145
|
+
end
|
146
|
+
|
127
147
|
# Reopen an account.
|
128
148
|
#
|
129
149
|
# @return [true, false] +true+ when successful, +false+ when unable to
|
data/lib/recurly/adjustment.rb
CHANGED
data/lib/recurly/billing_info.rb
CHANGED
@@ -16,6 +16,7 @@ module Recurly
|
|
16
16
|
belongs_to :account
|
17
17
|
|
18
18
|
define_attribute_methods %w(
|
19
|
+
uuid
|
19
20
|
first_name
|
20
21
|
last_name
|
21
22
|
company
|
@@ -42,6 +43,9 @@ module Recurly
|
|
42
43
|
mandate_reference
|
43
44
|
tax_identifier
|
44
45
|
tax_identifier_type
|
46
|
+
primary_payment_method
|
47
|
+
backup_payment_method
|
48
|
+
cc_bin_country
|
45
49
|
) | CREDIT_CARD_ATTRIBUTES | BANK_ACCOUNT_ATTRIBUTES | AMAZON_ATTRIBUTES | PAYPAL_ATTRIBUTES | ROKU_ATTRIBUTES | SEPA_ATTRIBUTES | BACS_ATTRIBUTES | BECS_ATTRIBUTES
|
46
50
|
|
47
51
|
# Verify an account's stored billing info
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Recurly
|
2
|
+
# Recurly Documentation: https://developers.recurly.com/api-v2/latest/index.html#tag/dunning-campaigns
|
3
|
+
class DunningCampaign < Resource
|
4
|
+
# @return [[DunningCycle], []]
|
5
|
+
has_many :dunning_cycles
|
6
|
+
|
7
|
+
define_attribute_methods %w(
|
8
|
+
id
|
9
|
+
name
|
10
|
+
code
|
11
|
+
description
|
12
|
+
default_campaign
|
13
|
+
dunning_cycles
|
14
|
+
created_at
|
15
|
+
updated_at
|
16
|
+
deleted_at
|
17
|
+
)
|
18
|
+
|
19
|
+
def bulk_update(plan_codes)
|
20
|
+
return false unless link? :bulk_update
|
21
|
+
|
22
|
+
builder = XML.new("<dunning_campaign/>")
|
23
|
+
node = builder.add_element("plan_codes")
|
24
|
+
plan_codes.each { |plan_code| node.add_element "plan_code", plan_code }
|
25
|
+
|
26
|
+
reload follow_link(:bulk_update, :body => builder.to_s)
|
27
|
+
true
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Recurly
|
2
|
+
class DunningCycle < Resource
|
3
|
+
define_attribute_methods %w(
|
4
|
+
type
|
5
|
+
applies_to_manual_trial
|
6
|
+
first_communication_interval
|
7
|
+
send_immediately_on_hard_decline
|
8
|
+
intervals
|
9
|
+
expire_subscription
|
10
|
+
fail_invoice
|
11
|
+
total_dunning_days
|
12
|
+
total_recycling_days
|
13
|
+
version
|
14
|
+
created_at
|
15
|
+
updated_at
|
16
|
+
)
|
17
|
+
end
|
18
|
+
end
|
data/lib/recurly/invoice.rb
CHANGED
@@ -51,6 +51,9 @@ module Recurly
|
|
51
51
|
# @return [Invoice, nil]
|
52
52
|
has_one :original_invoice, class_name: :Invoice, readonly: true
|
53
53
|
|
54
|
+
# @return [BillingInfo, nil]
|
55
|
+
has_one :billing_info, class_name: :BillingInfo, readonly: true
|
56
|
+
|
54
57
|
# Returns the first redemption in the Invoice's redemptions.
|
55
58
|
# This was placed here for backwards compatibility when we went from
|
56
59
|
# having a single redemption per invoice to multiple redemptions per invoice.
|
@@ -111,6 +114,8 @@ module Recurly
|
|
111
114
|
gateway_code
|
112
115
|
surcharge_in_cents
|
113
116
|
tax_details
|
117
|
+
billing_info_uuid
|
118
|
+
dunning_campaign_id
|
114
119
|
)
|
115
120
|
alias to_param invoice_number_with_prefix
|
116
121
|
|
data/lib/recurly/plan.rb
CHANGED
data/lib/recurly/purchase.rb
CHANGED
@@ -128,6 +128,9 @@ module Recurly
|
|
128
128
|
# @return [[ShippingFee], nil]
|
129
129
|
has_many :shipping_fees, class_name: :ShippingFee, readonly: false
|
130
130
|
|
131
|
+
# @return [BillingInfo, nil]
|
132
|
+
has_one :billing_info, class_name: :BillingInfo, readonly: true
|
133
|
+
|
131
134
|
define_attribute_methods %w(
|
132
135
|
currency
|
133
136
|
collection_method
|
@@ -140,6 +143,7 @@ module Recurly
|
|
140
143
|
shipping_address_id
|
141
144
|
gateway_code
|
142
145
|
transaction_type
|
146
|
+
billing_info_uuid
|
143
147
|
)
|
144
148
|
|
145
149
|
class << self
|
data/lib/recurly/resource.rb
CHANGED
@@ -608,7 +608,7 @@ module Recurly
|
|
608
608
|
|
609
609
|
def find_resource_class(name)
|
610
610
|
resource_name = Helper.classify(name)
|
611
|
-
if Recurly.const_defined?(resource_name, false)
|
611
|
+
if Recurly.const_defined?(resource_name, false) && Recurly.const_get(resource_name, false).instance_of?(Class)
|
612
612
|
Recurly.const_get(resource_name, false)
|
613
613
|
end
|
614
614
|
end
|
data/lib/recurly/subscription.rb
CHANGED
@@ -85,6 +85,7 @@ module Recurly
|
|
85
85
|
timeframe
|
86
86
|
started_with_gift
|
87
87
|
converted_at
|
88
|
+
billing_info_uuid
|
88
89
|
no_billing_info_reason
|
89
90
|
imported_trial
|
90
91
|
credit_customer_notes
|
@@ -176,7 +177,7 @@ module Recurly
|
|
176
177
|
|
177
178
|
# Convert free trial to paid subscription when transaction_type is "moto"
|
178
179
|
# which stands for "Mail Order Telephone Order".
|
179
|
-
#
|
180
|
+
#
|
180
181
|
# @return true
|
181
182
|
def convert_trial_moto()
|
182
183
|
builder = XML.new("<subscription/>")
|
@@ -186,8 +187,8 @@ module Recurly
|
|
186
187
|
end
|
187
188
|
|
188
189
|
# Convert free trial to paid subscription. Optionally uses a 3ds token.
|
189
|
-
#
|
190
|
-
# @param three_d_secure_action_result_token_id [String] three_d_secure_action_result_token_id
|
190
|
+
#
|
191
|
+
# @param three_d_secure_action_result_token_id [String] three_d_secure_action_result_token_id
|
191
192
|
# returned by Recurly.js referencing the result of the 3DS authentication for PSD2
|
192
193
|
# @return true when payment is accepted
|
193
194
|
def convert_trial(three_d_secure_action_result_token_id = nil)
|
@@ -198,8 +199,8 @@ module Recurly
|
|
198
199
|
billing_info.add_element('three_d_secure_action_result_token_id', three_d_secure_action_result_token_id)
|
199
200
|
builder.to_s
|
200
201
|
end
|
201
|
-
|
202
|
-
reload API.put("#{uri}/convert_trial", body)
|
202
|
+
|
203
|
+
reload API.put("#{uri}/convert_trial", body)
|
203
204
|
true
|
204
205
|
end
|
205
206
|
|
@@ -260,12 +261,12 @@ module Recurly
|
|
260
261
|
#
|
261
262
|
# @return [true, false] +true+ when successful, +false+ when unable to
|
262
263
|
# (e.g., the subscription is not active).
|
263
|
-
# @param
|
264
|
+
# @param next_bill_date [Time] when the subscription should renew.
|
264
265
|
# @param bulk [boolean] set to true for bulk updates (bypassing 60 second wait).
|
265
|
-
def postpone
|
266
|
+
def postpone next_bill_date, bulk=false
|
266
267
|
return false unless link? :postpone
|
267
268
|
reload follow_link(:postpone,
|
268
|
-
:params => { :
|
269
|
+
:params => { :next_bill_date => next_bill_date, :bulk => bulk }
|
269
270
|
)
|
270
271
|
true
|
271
272
|
end
|
data/lib/recurly/tax_detail.rb
CHANGED
data/lib/recurly/version.rb
CHANGED
data/lib/recurly/webhook.rb
CHANGED
@@ -20,75 +20,77 @@ module Recurly
|
|
20
20
|
# ...
|
21
21
|
# end
|
22
22
|
module Webhook
|
23
|
-
autoload :Notification,
|
24
|
-
autoload :AccountNotification,
|
25
|
-
autoload :SubscriptionNotification,
|
26
|
-
autoload :InvoiceNotification,
|
27
|
-
autoload :ItemNotification,
|
28
|
-
autoload :TransactionNotification,
|
29
|
-
autoload :DunningNotification,
|
30
|
-
autoload :CreditPaymentNotification,
|
31
|
-
autoload :BillingInfoUpdatedNotification,
|
32
|
-
autoload :BillingInfoUpdateFailedNotification,
|
33
|
-
autoload :SubscriptionPausedNotification,
|
34
|
-
autoload :SubscriptionPauseCanceledNotification,'recurly/webhook/subscription_pause_canceled_notification'
|
35
|
-
autoload :SubscriptionPauseModifiedNotification,'recurly/webhook/subscription_pause_modified_notification'
|
36
|
-
autoload :PausedSubscriptionRenewalNotification,'recurly/webhook/paused_subscription_renewal_notification'
|
37
|
-
autoload :SubscriptionResumedNotification,
|
38
|
-
autoload :CanceledSubscriptionNotification,
|
39
|
-
autoload :ScheduledSubscriptionPauseNotification,'recurly/webhook/scheduled_subscription_pause_notification'
|
40
|
-
autoload :
|
41
|
-
autoload :
|
42
|
-
autoload :
|
43
|
-
autoload :
|
44
|
-
autoload :
|
45
|
-
autoload :
|
46
|
-
autoload :
|
47
|
-
autoload :
|
48
|
-
autoload :
|
49
|
-
autoload :
|
50
|
-
autoload :
|
51
|
-
autoload :
|
52
|
-
autoload :
|
53
|
-
autoload :
|
54
|
-
autoload :
|
55
|
-
autoload :
|
56
|
-
autoload :
|
57
|
-
autoload :
|
58
|
-
autoload :
|
59
|
-
autoload :
|
60
|
-
autoload :
|
61
|
-
autoload :
|
62
|
-
autoload :
|
63
|
-
autoload :
|
64
|
-
autoload :
|
65
|
-
autoload :
|
66
|
-
autoload :
|
67
|
-
autoload :
|
68
|
-
autoload :
|
69
|
-
autoload :
|
70
|
-
autoload :
|
71
|
-
autoload :
|
72
|
-
autoload :
|
73
|
-
autoload :
|
74
|
-
autoload :
|
75
|
-
autoload :
|
76
|
-
autoload :
|
77
|
-
autoload :
|
78
|
-
autoload :
|
79
|
-
autoload :
|
80
|
-
autoload :
|
81
|
-
autoload :
|
82
|
-
autoload :
|
83
|
-
autoload :
|
84
|
-
autoload :
|
85
|
-
autoload :
|
86
|
-
autoload :
|
87
|
-
autoload :
|
88
|
-
autoload :
|
89
|
-
autoload :
|
90
|
-
autoload :
|
91
|
-
autoload :
|
23
|
+
autoload :Notification, 'recurly/webhook/notification'
|
24
|
+
autoload :AccountNotification, 'recurly/webhook/account_notification'
|
25
|
+
autoload :SubscriptionNotification, 'recurly/webhook/subscription_notification'
|
26
|
+
autoload :InvoiceNotification, 'recurly/webhook/invoice_notification'
|
27
|
+
autoload :ItemNotification, 'recurly/webhook/item_notification'
|
28
|
+
autoload :TransactionNotification, 'recurly/webhook/transaction_notification'
|
29
|
+
autoload :DunningNotification, 'recurly/webhook/dunning_notification'
|
30
|
+
autoload :CreditPaymentNotification, 'recurly/webhook/credit_payment_notification'
|
31
|
+
autoload :BillingInfoUpdatedNotification, 'recurly/webhook/billing_info_updated_notification'
|
32
|
+
autoload :BillingInfoUpdateFailedNotification, 'recurly/webhook/billing_info_update_failed_notification'
|
33
|
+
autoload :SubscriptionPausedNotification, 'recurly/webhook/subscription_paused_notification'
|
34
|
+
autoload :SubscriptionPauseCanceledNotification, 'recurly/webhook/subscription_pause_canceled_notification'
|
35
|
+
autoload :SubscriptionPauseModifiedNotification, 'recurly/webhook/subscription_pause_modified_notification'
|
36
|
+
autoload :PausedSubscriptionRenewalNotification, 'recurly/webhook/paused_subscription_renewal_notification'
|
37
|
+
autoload :SubscriptionResumedNotification, 'recurly/webhook/subscription_resumed_notification'
|
38
|
+
autoload :CanceledSubscriptionNotification, 'recurly/webhook/canceled_subscription_notification'
|
39
|
+
autoload :ScheduledSubscriptionPauseNotification, 'recurly/webhook/scheduled_subscription_pause_notification'
|
40
|
+
autoload :ScheduledSubscriptionUpdateNotification, 'recurly/webhook/scheduled_subscription_update_notification'
|
41
|
+
autoload :CanceledAccountNotification, 'recurly/webhook/canceled_account_notification'
|
42
|
+
autoload :ClosedInvoiceNotification, 'recurly/webhook/closed_invoice_notification'
|
43
|
+
autoload :ClosedCreditInvoiceNotification, 'recurly/webhook/closed_credit_invoice_notification'
|
44
|
+
autoload :NewCreditInvoiceNotification, 'recurly/webhook/new_credit_invoice_notification'
|
45
|
+
autoload :ProcessingCreditInvoiceNotification, 'recurly/webhook/processing_credit_invoice_notification'
|
46
|
+
autoload :ReopenedCreditInvoiceNotification, 'recurly/webhook/reopened_credit_invoice_notification'
|
47
|
+
autoload :VoidedCreditInvoiceNotification, 'recurly/webhook/voided_credit_invoice_notification'
|
48
|
+
autoload :NewCreditPaymentNotification, 'recurly/webhook/new_credit_payment_notification'
|
49
|
+
autoload :VoidedCreditPaymentNotification, 'recurly/webhook/voided_credit_payment_notification'
|
50
|
+
autoload :ExpiredSubscriptionNotification, 'recurly/webhook/expired_subscription_notification'
|
51
|
+
autoload :FailedPaymentNotification, 'recurly/webhook/failed_payment_notification'
|
52
|
+
autoload :NewAccountNotification, 'recurly/webhook/new_account_notification'
|
53
|
+
autoload :UpdatedAccountNotification, 'recurly/webhook/updated_account_notification'
|
54
|
+
autoload :NewInvoiceNotification, 'recurly/webhook/new_invoice_notification'
|
55
|
+
autoload :NewChargeInvoiceNotification, 'recurly/webhook/new_charge_invoice_notification'
|
56
|
+
autoload :ProcessingChargeInvoiceNotification, 'recurly/webhook/processing_charge_invoice_notification'
|
57
|
+
autoload :PastDueChargeInvoiceNotification, 'recurly/webhook/past_due_charge_invoice_notification'
|
58
|
+
autoload :PaidChargeInvoiceNotification, 'recurly/webhook/paid_charge_invoice_notification'
|
59
|
+
autoload :FailedChargeInvoiceNotification, 'recurly/webhook/failed_charge_invoice_notification'
|
60
|
+
autoload :ReopenedChargeInvoiceNotification, 'recurly/webhook/reopened_charge_invoice_notification'
|
61
|
+
autoload :NewSubscriptionNotification, 'recurly/webhook/new_subscription_notification'
|
62
|
+
autoload :PastDueInvoiceNotification, 'recurly/webhook/past_due_invoice_notification'
|
63
|
+
autoload :ReactivatedAccountNotification, 'recurly/webhook/reactivated_account_notification'
|
64
|
+
autoload :RenewedSubscriptionNotification, 'recurly/webhook/renewed_subscription_notification'
|
65
|
+
autoload :SuccessfulPaymentNotification, 'recurly/webhook/successful_payment_notification'
|
66
|
+
autoload :SuccessfulRefundNotification, 'recurly/webhook/successful_refund_notification'
|
67
|
+
autoload :UpdatedSubscriptionNotification, 'recurly/webhook/updated_subscription_notification'
|
68
|
+
autoload :VoidPaymentNotification, 'recurly/webhook/void_payment_notification'
|
69
|
+
autoload :ProcessingPaymentNotification, 'recurly/webhook/processing_payment_notification'
|
70
|
+
autoload :ProcessingInvoiceNotification, 'recurly/webhook/processing_invoice_notification'
|
71
|
+
autoload :ScheduledPaymentNotification, 'recurly/webhook/scheduled_payment_notification'
|
72
|
+
autoload :NewDunningEventNotification, 'recurly/webhook/new_dunning_event_notification'
|
73
|
+
autoload :GiftCardNotification, 'recurly/webhook/gift_card_notification'
|
74
|
+
autoload :PurchasedGiftCardNotification, 'recurly/webhook/purchased_gift_card_notification'
|
75
|
+
autoload :UpdatedGiftCardNotification, 'recurly/webhook/updated_gift_card_notification'
|
76
|
+
autoload :RegeneratedGiftCardNotification, 'recurly/webhook/regenerated_gift_card_notification'
|
77
|
+
autoload :CanceledGiftCardNotification, 'recurly/webhook/canceled_gift_card_notification'
|
78
|
+
autoload :RedeemedGiftCardNotification, 'recurly/webhook/redeemed_gift_card_notification'
|
79
|
+
autoload :UpdatedBalanceGiftCardNotification, 'recurly/webhook/updated_balance_gift_card_notification'
|
80
|
+
autoload :NewUsageNotification, 'recurly/webhook/new_usage_notification'
|
81
|
+
autoload :TransactionAuthorizedNotification, 'recurly/webhook/transaction_authorized_notification'
|
82
|
+
autoload :LowBalanceGiftCardNotification, 'recurly/webhook/low_balance_gift_card_notification'
|
83
|
+
autoload :TransactionStatusUpdatedNotification, 'recurly/webhook/transaction_status_updated_notification'
|
84
|
+
autoload :UpdatedInvoiceNotification, 'recurly/webhook/updated_invoice_notification'
|
85
|
+
autoload :NewShippingAddressNotification, 'recurly/webhook/new_shipping_address_notification'
|
86
|
+
autoload :UpdatedShippingAddressNotification, 'recurly/webhook/updated_shipping_address_notification'
|
87
|
+
autoload :DeletedShippingAddressNotification, 'recurly/webhook/deleted_shipping_address_notification'
|
88
|
+
autoload :FraudInfoUpdatedNotification, 'recurly/webhook/fraud_info_updated_notification'
|
89
|
+
autoload :NewItemNotification, 'recurly/webhook/new_item_notification'
|
90
|
+
autoload :UpdatedItemNotification, 'recurly/webhook/updated_item_notification'
|
91
|
+
autoload :DeactivatedItemNotification, 'recurly/webhook/deactivated_item_notification'
|
92
|
+
autoload :ReactivatedItemNotification, 'recurly/webhook/reactivated_item_notification'
|
93
|
+
autoload :PrerenewalNotification, 'recurly/webhook/prerenewal_notification'
|
92
94
|
|
93
95
|
# This exception is raised if the Webhook Notification initialization fails
|
94
96
|
class NotificationError < Error
|
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.18.
|
4
|
+
version: 2.18.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -118,88 +118,6 @@ dependencies:
|
|
118
118
|
- - "~>"
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
|
-
- !ruby/object:Gem::Dependency
|
122
|
-
name: yard
|
123
|
-
requirement: !ruby/object:Gem::Requirement
|
124
|
-
requirements:
|
125
|
-
- - "~>"
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
version: 0.9.9
|
128
|
-
type: :development
|
129
|
-
prerelease: false
|
130
|
-
version_requirements: !ruby/object:Gem::Requirement
|
131
|
-
requirements:
|
132
|
-
- - "~>"
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: 0.9.9
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: redcarpet
|
137
|
-
requirement: !ruby/object:Gem::Requirement
|
138
|
-
requirements:
|
139
|
-
- - ">="
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: 3.4.0
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '3.4'
|
145
|
-
type: :development
|
146
|
-
prerelease: false
|
147
|
-
version_requirements: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - ">="
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: 3.4.0
|
152
|
-
- - "~>"
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: '3.4'
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: racc
|
157
|
-
requirement: !ruby/object:Gem::Requirement
|
158
|
-
requirements:
|
159
|
-
- - "~>"
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
version: '1'
|
162
|
-
type: :development
|
163
|
-
prerelease: false
|
164
|
-
version_requirements: !ruby/object:Gem::Requirement
|
165
|
-
requirements:
|
166
|
-
- - "~>"
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
version: '1'
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
|
-
name: pry
|
171
|
-
requirement: !ruby/object:Gem::Requirement
|
172
|
-
requirements:
|
173
|
-
- - ">="
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
version: 0.9.10
|
176
|
-
- - "<"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: 0.11.0
|
179
|
-
type: :development
|
180
|
-
prerelease: false
|
181
|
-
version_requirements: !ruby/object:Gem::Requirement
|
182
|
-
requirements:
|
183
|
-
- - ">="
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version: 0.9.10
|
186
|
-
- - "<"
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: 0.11.0
|
189
|
-
- !ruby/object:Gem::Dependency
|
190
|
-
name: pry-nav
|
191
|
-
requirement: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - "~>"
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: 0.2.4
|
196
|
-
type: :development
|
197
|
-
prerelease: false
|
198
|
-
version_requirements: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - "~>"
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: 0.2.4
|
203
121
|
description: 'An API client library for Recurly: https://recurly.com'
|
204
122
|
email: support@recurly.com
|
205
123
|
executables: []
|
@@ -223,6 +141,8 @@ files:
|
|
223
141
|
- lib/recurly/credit_payment.rb
|
224
142
|
- lib/recurly/custom_field.rb
|
225
143
|
- lib/recurly/delivery.rb
|
144
|
+
- lib/recurly/dunning_campaign.rb
|
145
|
+
- lib/recurly/dunning_cycle.rb
|
226
146
|
- lib/recurly/error.rb
|
227
147
|
- lib/recurly/gift_card.rb
|
228
148
|
- lib/recurly/helper.rb
|
@@ -291,6 +211,7 @@ files:
|
|
291
211
|
- lib/recurly/webhook/past_due_charge_invoice_notification.rb
|
292
212
|
- lib/recurly/webhook/past_due_invoice_notification.rb
|
293
213
|
- lib/recurly/webhook/paused_subscription_renewal_notification.rb
|
214
|
+
- lib/recurly/webhook/prerenewal_notification.rb
|
294
215
|
- lib/recurly/webhook/processing_charge_invoice_notification.rb
|
295
216
|
- lib/recurly/webhook/processing_credit_invoice_notification.rb
|
296
217
|
- lib/recurly/webhook/processing_invoice_notification.rb
|
@@ -305,6 +226,7 @@ files:
|
|
305
226
|
- lib/recurly/webhook/reopened_credit_invoice_notification.rb
|
306
227
|
- lib/recurly/webhook/scheduled_payment_notification.rb
|
307
228
|
- lib/recurly/webhook/scheduled_subscription_pause_notification.rb
|
229
|
+
- lib/recurly/webhook/scheduled_subscription_update_notification.rb
|
308
230
|
- lib/recurly/webhook/subscription_notification.rb
|
309
231
|
- lib/recurly/webhook/subscription_pause_canceled_notification.rb
|
310
232
|
- lib/recurly/webhook/subscription_pause_modified_notification.rb
|
@@ -332,7 +254,7 @@ homepage: https://github.com/recurly/recurly-client-ruby
|
|
332
254
|
licenses:
|
333
255
|
- MIT
|
334
256
|
metadata: {}
|
335
|
-
post_install_message:
|
257
|
+
post_install_message:
|
336
258
|
rdoc_options:
|
337
259
|
- "--main"
|
338
260
|
- README.md
|
@@ -350,7 +272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
350
272
|
version: '0'
|
351
273
|
requirements: []
|
352
274
|
rubygems_version: 3.0.3
|
353
|
-
signing_key:
|
275
|
+
signing_key:
|
354
276
|
specification_version: 4
|
355
277
|
summary: Recurly API Client
|
356
278
|
test_files: []
|