Class: Stripe::CustomerSession::CreateParams::Components::BuyButton
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerSession::CreateParams::Components::BuyButton
- Defined in:
- lib/stripe/resources/customer_session.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Whether the buy button is enabled.
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ BuyButton
constructor
A new instance of BuyButton.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil) ⇒ BuyButton
Returns a new instance of BuyButton.
72 73 74 |
# File 'lib/stripe/resources/customer_session.rb', line 72 def initialize(enabled: nil) @enabled = enabled end |
Instance Attribute Details
#enabled ⇒ Object
Whether the buy button is enabled.
70 71 72 |
# File 'lib/stripe/resources/customer_session.rb', line 70 def enabled @enabled end |