Class: Kombo::Models::Shared::ConnectionFlowFailedWebhookPayloadData

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(integration_tool:, integration_category:, end_user:, log_url:) ⇒ ConnectionFlowFailedWebhookPayloadData

Returns a new instance of ConnectionFlowFailedWebhookPayloadData.



25
26
27
28
29
30
# File 'lib/kombo/models/shared/connectionflowfailedwebhookpayload_data.rb', line 25

def initialize(integration_tool:, integration_category:, end_user:, log_url:)
  @integration_tool = integration_tool
  @integration_category = integration_category
  @end_user = end_user
  @log_url = log_url
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/kombo/models/shared/connectionflowfailedwebhookpayload_data.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @integration_tool == other.integration_tool
  return false unless @integration_category == other.integration_category
  return false unless @end_user == other.end_user
  return false unless @log_url == other.log_url
  true
end