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