Class: Privy::Models::MoonpayUiConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::MoonpayUiConfig
- Defined in:
- lib/privy/models/moonpay_ui_config.rb
Instance Attribute Summary collapse
- #accent_color ⇒ String?
-
#theme ⇒ Symbol, ...
The theme for the Moonpay on-ramp widget.
Instance Method Summary collapse
-
#initialize(accent_color: nil, theme: nil) ⇒ Object
constructor
UI configuration for the Moonpay on-ramp widget.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(accent_color: nil, theme: nil) ⇒ Object
UI configuration for the Moonpay on-ramp widget.
|
|
# File 'lib/privy/models/moonpay_ui_config.rb', line 17
|
Instance Attribute Details
#accent_color ⇒ String?
9 |
# File 'lib/privy/models/moonpay_ui_config.rb', line 9 optional :accent_color, String, api_name: :accentColor |
#theme ⇒ Symbol, ...
The theme for the Moonpay on-ramp widget.
15 |
# File 'lib/privy/models/moonpay_ui_config.rb', line 15 optional :theme, enum: -> { Privy::MoonpayUiTheme } |