Class: WorkOS::IntentOptions
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::IntentOptions
- Defined in:
- lib/workos/admin_portal/intent_options.rb
Constant Summary collapse
- HASH_ATTRS =
{ sso: :sso }.freeze
Instance Attribute Summary collapse
-
#sso ⇒ Object
Returns the value of attribute sso.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ IntentOptions
constructor
A new instance of IntentOptions.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ IntentOptions
Returns a new instance of IntentOptions.
13 14 15 16 |
# File 'lib/workos/admin_portal/intent_options.rb', line 13 def initialize(json) hash = self.class.normalize(json) @sso = hash[:sso] ? WorkOS::SSOIntentOptions.new(hash[:sso]) : nil end |
Instance Attribute Details
#sso ⇒ Object
Returns the value of attribute sso.
11 12 13 |
# File 'lib/workos/admin_portal/intent_options.rb', line 11 def sso @sso end |