stripe 20.2.0.pre.alpha.1 → 20.2.0.pre.alpha.2
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/stripe/event_types.rb +8 -0
- data/lib/stripe/events/v2_extend_object_definition_created_event.rb +61 -0
- data/lib/stripe/events/v2_extend_object_definition_version_created_event.rb +65 -0
- data/lib/stripe/object_types.rb +4 -0
- data/lib/stripe/params/account_session_create_params.rb +200 -0
- data/lib/stripe/params/checkout/session_create_params.rb +42 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +21 -0
- data/lib/stripe/params/customer_tax_exemption_create_params.rb +29 -1
- data/lib/stripe/params/invoice_create_params.rb +8 -1
- data/lib/stripe/params/invoice_update_params.rb +8 -1
- data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +49 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +57 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +91 -1
- data/lib/stripe/params/payment_intent_create_params.rb +91 -1
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +57 -1
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +57 -1
- data/lib/stripe/params/payment_intent_update_params.rb +91 -1
- data/lib/stripe/params/payment_method_configuration_create_params.rb +21 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +21 -0
- data/lib/stripe/params/payment_method_create_params.rb +21 -0
- data/lib/stripe/params/quote_create_params.rb +1 -1
- data/lib/stripe/params/quote_update_params.rb +1 -1
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +13 -1
- data/lib/stripe/params/refund_create_params.rb +4 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +37 -0
- data/lib/stripe/params/setup_intent_create_params.rb +37 -0
- data/lib/stripe/params/setup_intent_update_params.rb +21 -0
- data/lib/stripe/params/subscription_create_params.rb +4 -0
- data/lib/stripe/params/subscription_list_params.rb +5 -1
- data/lib/stripe/params/subscription_update_params.rb +4 -0
- data/lib/stripe/params/tax/certificate_create_params.rb +21 -0
- data/lib/stripe/params/tax/certificate_delete_params.rb +8 -0
- data/lib/stripe/params/tax/certificate_list_params.rb +33 -0
- data/lib/stripe/params/tax/certificate_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/form_create_params.rb +504 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +21 -0
- data/lib/stripe/params/v2/core/account_session_create_params.rb +13 -0
- data/lib/stripe/params/v2/extend/object_definition_list_params.rb +17 -0
- data/lib/stripe/params/v2/extend/object_definition_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/object_definitions/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/extend/object_definitions/version_retrieve_params.rb +12 -0
- data/lib/stripe/params.rb +21 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/apps/install.rb +1 -1
- data/lib/stripe/resources/charge.rb +354 -2
- data/lib/stripe/resources/checkout/session.rb +30 -0
- data/lib/stripe/resources/confirmation_token.rb +84 -0
- data/lib/stripe/resources/coupon.rb +6 -3
- data/lib/stripe/resources/customer_tax_exemption.rb +32 -1
- data/lib/stripe/resources/invoice.rb +3 -0
- data/lib/stripe/resources/payment_attempt_record.rb +133 -0
- data/lib/stripe/resources/payment_intent.rb +100 -2
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +46 -1
- data/lib/stripe/resources/payment_method.rb +84 -0
- data/lib/stripe/resources/payment_method_configuration.rb +34 -0
- data/lib/stripe/resources/payment_record.rb +133 -0
- data/lib/stripe/resources/radar/payment_evaluation.rb +37 -2
- data/lib/stripe/resources/refund.rb +38 -0
- data/lib/stripe/resources/reporting/report_run.rb +2 -0
- data/lib/stripe/resources/setup_attempt.rb +3 -0
- data/lib/stripe/resources/setup_intent.rb +19 -1
- data/lib/stripe/resources/subscription.rb +3 -1
- data/lib/stripe/resources/tax/certificate.rb +81 -0
- data/lib/stripe/resources/tax/form.rb +11 -0
- data/lib/stripe/resources/tax/form_correction.rb +43 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +29 -1
- data/lib/stripe/resources/treasury/outbound_payment.rb +29 -1
- data/lib/stripe/resources/treasury/outbound_transfer.rb +29 -1
- data/lib/stripe/resources/v2/core/account_session.rb +27 -0
- data/lib/stripe/resources/v2/data/search_result_list.rb +1 -1
- data/lib/stripe/resources/v2/extend/object_definition.rb +40 -0
- data/lib/stripe/resources/v2/extend/object_definition_version.rb +168 -0
- data/lib/stripe/resources/v2/tax/operations_resolve_address_result.rb +1 -1
- data/lib/stripe/resources.rb +17 -0
- data/lib/stripe/services/apps/install_service.rb +1 -1
- data/lib/stripe/services/tax/certificate_service.rb +52 -0
- data/lib/stripe/services/tax/form_service.rb +11 -0
- data/lib/stripe/services/tax_service.rb +2 -1
- data/lib/stripe/services/v2/extend/object_definition_service.rb +39 -0
- data/lib/stripe/services/v2/extend/object_definitions/version_service.rb +34 -0
- data/lib/stripe/services/v2/extend_service.rb +2 -1
- data/lib/stripe/services.rb +9 -0
- data/lib/stripe/stripe_event_notification_handler.rb +8 -0
- data/lib/stripe/stripe_service.rb +13 -9
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +7 -1
- data/lib/stripe/workload_identity_exchange.rb +2 -2
- data/rbi/stripe.rbi +4320 -69
- metadata +20 -2
|
@@ -19,6 +19,7 @@ module Stripe
|
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
+
class AeonPay < ::Stripe::RequestParams; end
|
|
22
23
|
class Affirm < ::Stripe::RequestParams; end
|
|
23
24
|
class AfterpayClearpay < ::Stripe::RequestParams; end
|
|
24
25
|
class Alipay < ::Stripe::RequestParams; end
|
|
@@ -37,6 +38,8 @@ module Stripe
|
|
|
37
38
|
end
|
|
38
39
|
end
|
|
39
40
|
|
|
41
|
+
class AuPay < ::Stripe::RequestParams; end
|
|
42
|
+
|
|
40
43
|
class BacsDebit < ::Stripe::RequestParams
|
|
41
44
|
# Account number of the bank account that the funds will be debited from.
|
|
42
45
|
attr_accessor :account_number
|
|
@@ -119,6 +122,7 @@ module Stripe
|
|
|
119
122
|
class Cashapp < ::Stripe::RequestParams; end
|
|
120
123
|
class Crypto < ::Stripe::RequestParams; end
|
|
121
124
|
class CustomerBalance < ::Stripe::RequestParams; end
|
|
125
|
+
class Dbarai < ::Stripe::RequestParams; end
|
|
122
126
|
|
|
123
127
|
class Eps < ::Stripe::RequestParams
|
|
124
128
|
# The customer's bank.
|
|
@@ -204,6 +208,7 @@ module Stripe
|
|
|
204
208
|
class KrCard < ::Stripe::RequestParams; end
|
|
205
209
|
class Link < ::Stripe::RequestParams; end
|
|
206
210
|
class MbWay < ::Stripe::RequestParams; end
|
|
211
|
+
class Merpay < ::Stripe::RequestParams; end
|
|
207
212
|
class Mobilepay < ::Stripe::RequestParams; end
|
|
208
213
|
class Multibanco < ::Stripe::RequestParams; end
|
|
209
214
|
|
|
@@ -432,6 +437,8 @@ module Stripe
|
|
|
432
437
|
class Zip < ::Stripe::RequestParams; end
|
|
433
438
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
434
439
|
attr_accessor :acss_debit
|
|
440
|
+
# If this is a `aeon_pay` PaymentMethod, this hash contains details about the AEON Pay payment method.
|
|
441
|
+
attr_accessor :aeon_pay
|
|
435
442
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
|
436
443
|
attr_accessor :affirm
|
|
437
444
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
|
@@ -446,6 +453,8 @@ module Stripe
|
|
|
446
453
|
attr_accessor :amazon_pay
|
|
447
454
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
|
448
455
|
attr_accessor :au_becs_debit
|
|
456
|
+
# If this is a `au_pay` PaymentMethod, this hash contains details about the au PAY payment method.
|
|
457
|
+
attr_accessor :au_pay
|
|
449
458
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
|
450
459
|
attr_accessor :bacs_debit
|
|
451
460
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
|
@@ -468,6 +477,8 @@ module Stripe
|
|
|
468
477
|
attr_accessor :crypto
|
|
469
478
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
|
470
479
|
attr_accessor :customer_balance
|
|
480
|
+
# If this is a `dbarai` PaymentMethod, this hash contains details about the d-Barai payment method.
|
|
481
|
+
attr_accessor :dbarai
|
|
471
482
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
|
472
483
|
attr_accessor :eps
|
|
473
484
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
|
@@ -500,6 +511,8 @@ module Stripe
|
|
|
500
511
|
attr_accessor :link
|
|
501
512
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
502
513
|
attr_accessor :mb_way
|
|
514
|
+
# If this is a `merpay` PaymentMethod, this hash contains details about the Merpay payment method.
|
|
515
|
+
attr_accessor :merpay
|
|
503
516
|
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
504
517
|
attr_accessor :metadata
|
|
505
518
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
|
@@ -585,6 +598,7 @@ module Stripe
|
|
|
585
598
|
|
|
586
599
|
def initialize(
|
|
587
600
|
acss_debit: nil,
|
|
601
|
+
aeon_pay: nil,
|
|
588
602
|
affirm: nil,
|
|
589
603
|
afterpay_clearpay: nil,
|
|
590
604
|
alipay: nil,
|
|
@@ -592,6 +606,7 @@ module Stripe
|
|
|
592
606
|
alma: nil,
|
|
593
607
|
amazon_pay: nil,
|
|
594
608
|
au_becs_debit: nil,
|
|
609
|
+
au_pay: nil,
|
|
595
610
|
bacs_debit: nil,
|
|
596
611
|
bancontact: nil,
|
|
597
612
|
billie: nil,
|
|
@@ -603,6 +618,7 @@ module Stripe
|
|
|
603
618
|
cashapp: nil,
|
|
604
619
|
crypto: nil,
|
|
605
620
|
customer_balance: nil,
|
|
621
|
+
dbarai: nil,
|
|
606
622
|
eps: nil,
|
|
607
623
|
fpx: nil,
|
|
608
624
|
getflex: nil,
|
|
@@ -619,6 +635,7 @@ module Stripe
|
|
|
619
635
|
kr_card: nil,
|
|
620
636
|
link: nil,
|
|
621
637
|
mb_way: nil,
|
|
638
|
+
merpay: nil,
|
|
622
639
|
metadata: nil,
|
|
623
640
|
mobilepay: nil,
|
|
624
641
|
multibanco: nil,
|
|
@@ -662,6 +679,7 @@ module Stripe
|
|
|
662
679
|
zip: nil
|
|
663
680
|
)
|
|
664
681
|
@acss_debit = acss_debit
|
|
682
|
+
@aeon_pay = aeon_pay
|
|
665
683
|
@affirm = affirm
|
|
666
684
|
@afterpay_clearpay = afterpay_clearpay
|
|
667
685
|
@alipay = alipay
|
|
@@ -669,6 +687,7 @@ module Stripe
|
|
|
669
687
|
@alma = alma
|
|
670
688
|
@amazon_pay = amazon_pay
|
|
671
689
|
@au_becs_debit = au_becs_debit
|
|
690
|
+
@au_pay = au_pay
|
|
672
691
|
@bacs_debit = bacs_debit
|
|
673
692
|
@bancontact = bancontact
|
|
674
693
|
@billie = billie
|
|
@@ -680,6 +699,7 @@ module Stripe
|
|
|
680
699
|
@cashapp = cashapp
|
|
681
700
|
@crypto = crypto
|
|
682
701
|
@customer_balance = customer_balance
|
|
702
|
+
@dbarai = dbarai
|
|
683
703
|
@eps = eps
|
|
684
704
|
@fpx = fpx
|
|
685
705
|
@getflex = getflex
|
|
@@ -696,6 +716,7 @@ module Stripe
|
|
|
696
716
|
@kr_card = kr_card
|
|
697
717
|
@link = link
|
|
698
718
|
@mb_way = mb_way
|
|
719
|
+
@merpay = merpay
|
|
699
720
|
@metadata = metadata
|
|
700
721
|
@mobilepay = mobilepay
|
|
701
722
|
@multibanco = multibanco
|
|
@@ -1166,6 +1166,8 @@ module Stripe
|
|
|
1166
1166
|
attr_accessor :billing_cycle_anchor
|
|
1167
1167
|
# Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurrence of the day_of_month at the hour, minute, and second UTC.
|
|
1168
1168
|
attr_accessor :billing_cycle_anchor_config
|
|
1169
|
+
# The Billing Group which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
1170
|
+
attr_accessor :billing_group
|
|
1169
1171
|
# Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
1170
1172
|
attr_accessor :billing_mode
|
|
1171
1173
|
# An array of billing schedules, which allow you to bill customers in advance for multiple service periods. Requires flexible billing mode and API version 2026-05-27.dahlia or later. Learn more about [prebilling](https://docs.stripe.com/billing/subscriptions/prebilling).
|
|
@@ -1237,6 +1239,7 @@ module Stripe
|
|
|
1237
1239
|
billing_cadence: nil,
|
|
1238
1240
|
billing_cycle_anchor: nil,
|
|
1239
1241
|
billing_cycle_anchor_config: nil,
|
|
1242
|
+
billing_group: nil,
|
|
1240
1243
|
billing_mode: nil,
|
|
1241
1244
|
billing_schedules: nil,
|
|
1242
1245
|
billing_thresholds: nil,
|
|
@@ -1276,6 +1279,7 @@ module Stripe
|
|
|
1276
1279
|
@billing_cadence = billing_cadence
|
|
1277
1280
|
@billing_cycle_anchor = billing_cycle_anchor
|
|
1278
1281
|
@billing_cycle_anchor_config = billing_cycle_anchor_config
|
|
1282
|
+
@billing_group = billing_group
|
|
1279
1283
|
@billing_mode = billing_mode
|
|
1280
1284
|
@billing_schedules = billing_schedules
|
|
1281
1285
|
@billing_thresholds = billing_thresholds
|
|
@@ -67,8 +67,10 @@ module Stripe
|
|
|
67
67
|
end
|
|
68
68
|
# Filter subscriptions by their automatic tax settings.
|
|
69
69
|
attr_accessor :automatic_tax
|
|
70
|
-
#
|
|
70
|
+
# The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
71
71
|
attr_accessor :billing_cadence
|
|
72
|
+
# Filter for subscriptions that have the specified billing group.
|
|
73
|
+
attr_accessor :billing_group
|
|
72
74
|
# The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
|
|
73
75
|
attr_accessor :collection_method
|
|
74
76
|
# Only return subscriptions that were created during the given date interval.
|
|
@@ -101,6 +103,7 @@ module Stripe
|
|
|
101
103
|
def initialize(
|
|
102
104
|
automatic_tax: nil,
|
|
103
105
|
billing_cadence: nil,
|
|
106
|
+
billing_group: nil,
|
|
104
107
|
collection_method: nil,
|
|
105
108
|
created: nil,
|
|
106
109
|
current_period_end: nil,
|
|
@@ -118,6 +121,7 @@ module Stripe
|
|
|
118
121
|
)
|
|
119
122
|
@automatic_tax = automatic_tax
|
|
120
123
|
@billing_cadence = billing_cadence
|
|
124
|
+
@billing_group = billing_group
|
|
121
125
|
@collection_method = collection_method
|
|
122
126
|
@created = created
|
|
123
127
|
@current_period_end = current_period_end
|
|
@@ -1156,6 +1156,8 @@ module Stripe
|
|
|
1156
1156
|
attr_accessor :billing_cadence
|
|
1157
1157
|
# Controls how the subscription's billing cycle anchor changes. Set `type` to `now` to reset the billing cycle anchor to the current time (in UTC), or `unchanged` to preserve it. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
|
|
1158
1158
|
attr_accessor :billing_cycle_anchor
|
|
1159
|
+
# The Billing Group which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
1160
|
+
attr_accessor :billing_group
|
|
1159
1161
|
# An array of billing schedules, which allow you to bill customers in advance for multiple service periods. Requires flexible billing mode and API version 2026-05-27.dahlia or later. Learn more about [prebilling](https://docs.stripe.com/billing/subscriptions/prebilling).
|
|
1160
1162
|
attr_accessor :billing_schedules
|
|
1161
1163
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds.
|
|
@@ -1223,6 +1225,7 @@ module Stripe
|
|
|
1223
1225
|
automatic_tax: nil,
|
|
1224
1226
|
billing_cadence: nil,
|
|
1225
1227
|
billing_cycle_anchor: nil,
|
|
1228
|
+
billing_group: nil,
|
|
1226
1229
|
billing_schedules: nil,
|
|
1227
1230
|
billing_thresholds: nil,
|
|
1228
1231
|
cancel_at: nil,
|
|
@@ -1259,6 +1262,7 @@ module Stripe
|
|
|
1259
1262
|
@automatic_tax = automatic_tax
|
|
1260
1263
|
@billing_cadence = billing_cadence
|
|
1261
1264
|
@billing_cycle_anchor = billing_cycle_anchor
|
|
1265
|
+
@billing_group = billing_group
|
|
1262
1266
|
@billing_schedules = billing_schedules
|
|
1263
1267
|
@billing_thresholds = billing_thresholds
|
|
1264
1268
|
@cancel_at = cancel_at
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Tax
|
|
6
|
+
class CertificateCreateParams < ::Stripe::RequestParams
|
|
7
|
+
# Specifies which fields in the response should be expanded.
|
|
8
|
+
attr_accessor :expand
|
|
9
|
+
# The ID of a file uploaded with purpose `tax_certificate`.
|
|
10
|
+
attr_accessor :file
|
|
11
|
+
# The ID of an existing tax exemption.
|
|
12
|
+
attr_accessor :tax_exemption
|
|
13
|
+
|
|
14
|
+
def initialize(expand: nil, file: nil, tax_exemption: nil)
|
|
15
|
+
@expand = expand
|
|
16
|
+
@file = file
|
|
17
|
+
@tax_exemption = tax_exemption
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Tax
|
|
6
|
+
class CertificateListParams < ::Stripe::RequestParams
|
|
7
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
8
|
+
attr_accessor :ending_before
|
|
9
|
+
# Specifies which fields in the response should be expanded.
|
|
10
|
+
attr_accessor :expand
|
|
11
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
12
|
+
attr_accessor :limit
|
|
13
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
14
|
+
attr_accessor :starting_after
|
|
15
|
+
# The ID of an existing tax exemption.
|
|
16
|
+
attr_accessor :tax_exemption
|
|
17
|
+
|
|
18
|
+
def initialize(
|
|
19
|
+
ending_before: nil,
|
|
20
|
+
expand: nil,
|
|
21
|
+
limit: nil,
|
|
22
|
+
starting_after: nil,
|
|
23
|
+
tax_exemption: nil
|
|
24
|
+
)
|
|
25
|
+
@ending_before = ending_before
|
|
26
|
+
@expand = expand
|
|
27
|
+
@limit = limit
|
|
28
|
+
@starting_after = starting_after
|
|
29
|
+
@tax_exemption = tax_exemption
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Tax
|
|
6
|
+
class CertificateRetrieveParams < ::Stripe::RequestParams
|
|
7
|
+
# Specifies which fields in the response should be expanded.
|
|
8
|
+
attr_accessor :expand
|
|
9
|
+
|
|
10
|
+
def initialize(expand: nil)
|
|
11
|
+
@expand = expand
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|