Class: Stripe::AccountSessionService::CreateParams::Components::NotificationBanner
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountSessionService::CreateParams::Components::NotificationBanner
- Defined in:
- lib/stripe/services/account_session_service.rb
Defined Under Namespace
Classes: Features
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Whether the embedded component is enabled.
-
#features ⇒ Object
The list of features enabled in the embedded component.
Instance Method Summary collapse
-
#initialize(enabled: nil, features: nil) ⇒ NotificationBanner
constructor
A new instance of NotificationBanner.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, features: nil) ⇒ NotificationBanner
Returns a new instance of NotificationBanner.
258 259 260 261 |
# File 'lib/stripe/services/account_session_service.rb', line 258 def initialize(enabled: nil, features: nil) @enabled = enabled @features = features end |
Instance Attribute Details
#enabled ⇒ Object
Whether the embedded component is enabled.
254 255 256 |
# File 'lib/stripe/services/account_session_service.rb', line 254 def enabled @enabled end |
#features ⇒ Object
The list of features enabled in the embedded component.
256 257 258 |
# File 'lib/stripe/services/account_session_service.rb', line 256 def features @features end |