Class: KintsugiSDK::Models::Shared::Security

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kintsugi_sdk/models/shared/security.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(api_key_header:, custom_header:) ⇒ Security

Returns a new instance of Security.



22
23
24
25
# File 'lib/kintsugi_sdk/models/shared/security.rb', line 22

def initialize(api_key_header:, custom_header:)
  @api_key_header = api_key_header
  @custom_header = custom_header
end

Instance Method Details

#==(other) ⇒ Object



28
29
30
31
32
33
# File 'lib/kintsugi_sdk/models/shared/security.rb', line 28

def ==(other)
  return false unless other.is_a? self.class
  return false unless @api_key_header == other.api_key_header
  return false unless @custom_header == other.custom_header
  true
end