Class: WorkOS::PatchConnectionSAMLOptions
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::PatchConnectionSAMLOptions
- 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
-
#acs_url ⇒ Object
Returns the value of attribute acs_url.
-
#idp_entity_id ⇒ Object
Returns the value of attribute idp_entity_id.
-
#idp_metadata_url ⇒ Object
Returns the value of attribute idp_metadata_url.
-
#idp_sso_url ⇒ Object
Returns the value of attribute idp_sso_url.
-
#sp_entity_id ⇒ Object
Returns the value of attribute sp_entity_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ PatchConnectionSAMLOptions
constructor
A new instance of PatchConnectionSAMLOptions.
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_url ⇒ Object
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_id ⇒ Object
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_url ⇒ Object
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_url ⇒ Object
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_id ⇒ Object
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 |