recurly 2.18.16 → 2.18.21

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81da082560bca542b9109eb8ae61089f33e28838f9c8b495f3cea9a37c612f5c
4
- data.tar.gz: 2df98aa3795f057055ab8973584ab3facb05242316c8e299e7e8b88489fafa08
3
+ metadata.gz: 90911f96367a97bcc65fb3227083ab224b662639c9a233d3f085f66e79197592
4
+ data.tar.gz: 61d45e9d4d4249b1061af262a4b9569c4368dd20b987521fbf809bf8061d7ac4
5
5
  SHA512:
6
- metadata.gz: 206bda608a120910f408779cb21701e343b6e0d2753bfb6034555a1bae67f24966448c363772c12283a421bc21833e5c6af184a94a2de91408a0feadda6182d1
7
- data.tar.gz: 823c10946b07e4dd80ba2a4a3152eef3a119cccc6ecf64adefcf0af0c4d0679d437ec9a652933294fba0b14e4a1f32976fe060aa365974136c192f8b6559c519
6
+ metadata.gz: 4bd74ae8c57c57660dc12c11cf644c1441c2f28f42954344412f80745b6f1d8211783cb8b1917f8de557cfadb147e36c36ae56ce502c096db51db7366a1e61f4
7
+ data.tar.gz: 805fa6a086423a13b37b640056506b60f099af605af2595ca3de1efa552d7537f0e741520c1d6cbffffa5f8bc05c485634861d4d72ebd2710b8a6b39afc4671c
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.16'
17
+ gem 'recurly', '~> 2.18.21'
18
18
  ```
19
19
 
20
20
  Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
@@ -124,6 +124,25 @@ module Recurly
124
124
  raise Invalid, e.message
125
125
  end
126
126
 
127
+ def create_billing_info(billing_info)
128
+ billing_info = billing_info
129
+ billing_info.uri = "#{path}/billing_infos"
130
+ billing_info.save!
131
+ billing_info
132
+ end
133
+
134
+ def get_billing_infos
135
+ Pager.new(Recurly::BillingInfo, uri: "#{path}/billing_infos", parent: self)
136
+ rescue Recurly::API::UnprocessableEntity => e
137
+ raise Invalid, e.message
138
+ end
139
+
140
+ def get_billing_info(billing_info_uuid)
141
+ BillingInfo.from_response API.get("#{path}/billing_infos/#{billing_info_uuid}")
142
+ rescue Recurly::API::UnprocessableEntity => e
143
+ raise Invalid, e.message
144
+ end
145
+
127
146
  # Reopen an account.
128
147
  #
129
148
  # @return [true, false] +true+ when successful, +false+ when unable to
@@ -9,6 +9,7 @@ module Recurly
9
9
  add_on_code
10
10
  item_code
11
11
  name
12
+ item_state
12
13
  accounting_code
13
14
  default_quantity
14
15
  unit_amount_in_cents
@@ -23,6 +24,7 @@ module Recurly
23
24
  created_at
24
25
  updated_at
25
26
  tier_type
27
+ external_sku
26
28
  avalara_service_type
27
29
  avalara_transaction_type
28
30
  )
@@ -8,7 +8,7 @@ module Recurly
8
8
  AMAZON_ATTRIBUTES = %w(amazon_billing_agreement_id amazon_region).freeze
9
9
  PAYPAL_ATTRIBUTES = %w(paypal_billing_agreement_id).freeze
10
10
  ROKU_ATTRIBUTES = %w(roku_billing_agreement_id last_four).freeze
11
- SEPA_ATTRIBUTES = %w(iban).freeze
11
+ SEPA_ATTRIBUTES = %w(iban last_two).freeze
12
12
  BACS_ATTRIBUTES = %w(account_number sort_code type).freeze
13
13
  BECS_ATTRIBUTES = %w(account_number bsb_code type).freeze
14
14
 
@@ -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
@@ -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,7 @@ module Recurly
111
114
  gateway_code
112
115
  surcharge_in_cents
113
116
  tax_details
117
+ billing_info_uuid
114
118
  )
115
119
  alias to_param invoice_number_with_prefix
116
120
 
@@ -203,6 +207,9 @@ module Recurly
203
207
  self.class.from_response(
204
208
  follow_link :refund, :body => refund_line_items_to_xml(line_items, refund_method, options)
205
209
  )
210
+ rescue Recurly::API::UnprocessableEntity => e
211
+ Transaction::Error.validate! e, (self if is_a?(Transaction))
212
+ raise
206
213
  end
207
214
 
208
215
  # Refunds the invoice for a specific amount.
@@ -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
@@ -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 next_renewal_date [Time] when the subscription should renew.
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 next_renewal_date, bulk=false
266
+ def postpone next_bill_date, bulk=false
266
267
  return false unless link? :postpone
267
268
  reload follow_link(:postpone,
268
- :params => { :next_renewal_date => next_renewal_date, :bulk => bulk }
269
+ :params => { :next_bill_date => next_bill_date, :bulk => bulk }
269
270
  )
270
271
  true
271
272
  end
@@ -9,6 +9,8 @@ module Recurly
9
9
  tax_in_cents
10
10
  level
11
11
  billable
12
+ tax_type
13
+ tax_region
12
14
  )
13
15
 
14
16
  embedded! true
@@ -1,6 +1,6 @@
1
1
  module Recurly
2
2
  module Version
3
- VERSION = "2.18.16"
3
+ VERSION = "2.18.21"
4
4
 
5
5
  class << self
6
6
  def inspect
@@ -20,75 +20,77 @@ module Recurly
20
20
  # ...
21
21
  # end
22
22
  module Webhook
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 :CanceledAccountNotification, 'recurly/webhook/canceled_account_notification'
41
- autoload :ClosedInvoiceNotification, 'recurly/webhook/closed_invoice_notification'
42
- autoload :ClosedCreditInvoiceNotification, 'recurly/webhook/closed_credit_invoice_notification'
43
- autoload :NewCreditInvoiceNotification, 'recurly/webhook/new_credit_invoice_notification'
44
- autoload :ProcessingCreditInvoiceNotification, 'recurly/webhook/processing_credit_invoice_notification'
45
- autoload :ReopenedCreditInvoiceNotification, 'recurly/webhook/reopened_credit_invoice_notification'
46
- autoload :VoidedCreditInvoiceNotification, 'recurly/webhook/voided_credit_invoice_notification'
47
- autoload :NewCreditPaymentNotification, 'recurly/webhook/new_credit_payment_notification'
48
- autoload :VoidedCreditPaymentNotification, 'recurly/webhook/voided_credit_payment_notification'
49
- autoload :ExpiredSubscriptionNotification, 'recurly/webhook/expired_subscription_notification'
50
- autoload :FailedPaymentNotification, 'recurly/webhook/failed_payment_notification'
51
- autoload :NewAccountNotification, 'recurly/webhook/new_account_notification'
52
- autoload :UpdatedAccountNotification, 'recurly/webhook/updated_account_notification'
53
- autoload :NewInvoiceNotification, 'recurly/webhook/new_invoice_notification'
54
- autoload :NewChargeInvoiceNotification, 'recurly/webhook/new_charge_invoice_notification'
55
- autoload :ProcessingChargeInvoiceNotification, 'recurly/webhook/processing_charge_invoice_notification'
56
- autoload :PastDueChargeInvoiceNotification, 'recurly/webhook/past_due_charge_invoice_notification'
57
- autoload :PaidChargeInvoiceNotification, 'recurly/webhook/paid_charge_invoice_notification'
58
- autoload :FailedChargeInvoiceNotification, 'recurly/webhook/failed_charge_invoice_notification'
59
- autoload :ReopenedChargeInvoiceNotification, 'recurly/webhook/reopened_charge_invoice_notification'
60
- autoload :NewSubscriptionNotification, 'recurly/webhook/new_subscription_notification'
61
- autoload :PastDueInvoiceNotification, 'recurly/webhook/past_due_invoice_notification'
62
- autoload :ReactivatedAccountNotification, 'recurly/webhook/reactivated_account_notification'
63
- autoload :RenewedSubscriptionNotification, 'recurly/webhook/renewed_subscription_notification'
64
- autoload :SuccessfulPaymentNotification, 'recurly/webhook/successful_payment_notification'
65
- autoload :SuccessfulRefundNotification, 'recurly/webhook/successful_refund_notification'
66
- autoload :UpdatedSubscriptionNotification, 'recurly/webhook/updated_subscription_notification'
67
- autoload :VoidPaymentNotification, 'recurly/webhook/void_payment_notification'
68
- autoload :ProcessingPaymentNotification, 'recurly/webhook/processing_payment_notification'
69
- autoload :ProcessingInvoiceNotification, 'recurly/webhook/processing_invoice_notification'
70
- autoload :ScheduledPaymentNotification, 'recurly/webhook/scheduled_payment_notification'
71
- autoload :NewDunningEventNotification, 'recurly/webhook/new_dunning_event_notification'
72
- autoload :GiftCardNotification, 'recurly/webhook/gift_card_notification'
73
- autoload :PurchasedGiftCardNotification, 'recurly/webhook/purchased_gift_card_notification'
74
- autoload :UpdatedGiftCardNotification, 'recurly/webhook/updated_gift_card_notification'
75
- autoload :RegeneratedGiftCardNotification, 'recurly/webhook/regenerated_gift_card_notification'
76
- autoload :CanceledGiftCardNotification, 'recurly/webhook/canceled_gift_card_notification'
77
- autoload :RedeemedGiftCardNotification, 'recurly/webhook/redeemed_gift_card_notification'
78
- autoload :UpdatedBalanceGiftCardNotification, 'recurly/webhook/updated_balance_gift_card_notification'
79
- autoload :NewUsageNotification, 'recurly/webhook/new_usage_notification'
80
- autoload :TransactionAuthorizedNotification, 'recurly/webhook/transaction_authorized_notification'
81
- autoload :LowBalanceGiftCardNotification, 'recurly/webhook/low_balance_gift_card_notification'
82
- autoload :TransactionStatusUpdatedNotification, 'recurly/webhook/transaction_status_updated_notification'
83
- autoload :UpdatedInvoiceNotification, 'recurly/webhook/updated_invoice_notification'
84
- autoload :NewShippingAddressNotification, 'recurly/webhook/new_shipping_address_notification'
85
- autoload :UpdatedShippingAddressNotification, 'recurly/webhook/updated_shipping_address_notification'
86
- autoload :DeletedShippingAddressNotification, 'recurly/webhook/deleted_shipping_address_notification'
87
- autoload :FraudInfoUpdatedNotification, 'recurly/webhook/fraud_info_updated_notification'
88
- autoload :NewItemNotification, 'recurly/webhook/new_item_notification'
89
- autoload :UpdatedItemNotification, 'recurly/webhook/updated_item_notification'
90
- autoload :DeactivatedItemNotification, 'recurly/webhook/deactivated_item_notification'
91
- autoload :ReactivatedItemNotification, 'recurly/webhook/reactivated_item_notification'
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
@@ -0,0 +1,6 @@
1
+ module Recurly
2
+ module Webhook
3
+ class PrerenewalNotification < SubscriptionNotification
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module Recurly
2
+ module Webhook
3
+ class ScheduledSubscriptionUpdateNotification < SubscriptionNotification
4
+ end
5
+ end
6
+ end
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.16
4
+ version: 2.18.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-05 00:00:00.000000000 Z
11
+ date: 2021-06-25 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: []
@@ -291,6 +209,7 @@ files:
291
209
  - lib/recurly/webhook/past_due_charge_invoice_notification.rb
292
210
  - lib/recurly/webhook/past_due_invoice_notification.rb
293
211
  - lib/recurly/webhook/paused_subscription_renewal_notification.rb
212
+ - lib/recurly/webhook/prerenewal_notification.rb
294
213
  - lib/recurly/webhook/processing_charge_invoice_notification.rb
295
214
  - lib/recurly/webhook/processing_credit_invoice_notification.rb
296
215
  - lib/recurly/webhook/processing_invoice_notification.rb
@@ -305,6 +224,7 @@ files:
305
224
  - lib/recurly/webhook/reopened_credit_invoice_notification.rb
306
225
  - lib/recurly/webhook/scheduled_payment_notification.rb
307
226
  - lib/recurly/webhook/scheduled_subscription_pause_notification.rb
227
+ - lib/recurly/webhook/scheduled_subscription_update_notification.rb
308
228
  - lib/recurly/webhook/subscription_notification.rb
309
229
  - lib/recurly/webhook/subscription_pause_canceled_notification.rb
310
230
  - lib/recurly/webhook/subscription_pause_modified_notification.rb
@@ -332,7 +252,7 @@ homepage: https://github.com/recurly/recurly-client-ruby
332
252
  licenses:
333
253
  - MIT
334
254
  metadata: {}
335
- post_install_message:
255
+ post_install_message:
336
256
  rdoc_options:
337
257
  - "--main"
338
258
  - README.md
@@ -350,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
350
270
  version: '0'
351
271
  requirements: []
352
272
  rubygems_version: 3.0.3
353
- signing_key:
273
+ signing_key:
354
274
  specification_version: 4
355
275
  summary: Recurly API Client
356
276
  test_files: []