Class: WorkOS::SSOIntentOptions

Inherits:
Types::BaseModel show all
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

Attributes inherited from Types::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Types::BaseModel

normalize

Methods included from HashProvider

#inspect, #to_h, #to_json

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_slugObject

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_typeObject

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