Class: WorkOS::PatchConnectionSAMLOptions

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/workos/sso/patch_connection_saml_options.rb

Constant Summary collapse

HASH_ATTRS =
{
  idp_metadata_url: :idp_metadata_url,
  acs_url: :acs_url,
  sp_entity_id: :sp_entity_id,
  idp_entity_id: :idp_entity_id,
  idp_sso_url: :idp_sso_url
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ PatchConnectionSAMLOptions

Returns a new instance of PatchConnectionSAMLOptions.



22
23
24
25
26
27
28
29
# File 'lib/workos/sso/patch_connection_saml_options.rb', line 22

def initialize(json)
  hash = self.class.normalize(json)
  @idp_metadata_url = hash[:idp_metadata_url]
  @acs_url = hash[:acs_url]
  @sp_entity_id = hash[:sp_entity_id]
  @idp_entity_id = hash[:idp_entity_id]
  @idp_sso_url = hash[:idp_sso_url]
end

Instance Attribute Details

#acs_urlObject

Returns the value of attribute acs_url.



15
16
17
# File 'lib/workos/sso/patch_connection_saml_options.rb', line 15

def acs_url
  @acs_url
end

#idp_entity_idObject

Returns the value of attribute idp_entity_id.



15
16
17
# File 'lib/workos/sso/patch_connection_saml_options.rb', line 15

def idp_entity_id
  @idp_entity_id
end

#idp_metadata_urlObject

Returns the value of attribute idp_metadata_url.



15
16
17
# File 'lib/workos/sso/patch_connection_saml_options.rb', line 15

def 
  @idp_metadata_url
end

#idp_sso_urlObject

Returns the value of attribute idp_sso_url.



15
16
17
# File 'lib/workos/sso/patch_connection_saml_options.rb', line 15

def idp_sso_url
  @idp_sso_url
end

#sp_entity_idObject

Returns the value of attribute sp_entity_id.



15
16
17
# File 'lib/workos/sso/patch_connection_saml_options.rb', line 15

def sp_entity_id
  @sp_entity_id
end