Class: Clerk::Models::Components::EnterpriseConnectionTestRunSaml

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/components/enterpriseconnectiontestrun_saml.rb

Overview

SAML-specific metadata, present for SAML connections

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(saml_request: nil, saml_response: nil, relay_state: nil) ⇒ EnterpriseConnectionTestRunSaml

Returns a new instance of EnterpriseConnectionTestRunSaml.



23
24
25
26
27
# File 'lib/clerk/models/components/enterpriseconnectiontestrun_saml.rb', line 23

def initialize(saml_request: nil, saml_response: nil, relay_state: nil)
  @saml_request = saml_request
  @saml_response = saml_response
  @relay_state = relay_state
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/clerk/models/components/enterpriseconnectiontestrun_saml.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @saml_request == other.saml_request
  return false unless @saml_response == other.saml_response
  return false unless @relay_state == other.relay_state
  true
end