Class: Kombo::Models::Shared::DataChangedWebhookPayloadData
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::DataChangedWebhookPayloadData
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/datachangedwebhookpayload_data.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(integration_id:, integration_tool:, integration_category:, changed_models:) ⇒ DataChangedWebhookPayloadData
constructor
A new instance of DataChangedWebhookPayloadData.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(integration_id:, integration_tool:, integration_category:, changed_models:) ⇒ DataChangedWebhookPayloadData
Returns a new instance of DataChangedWebhookPayloadData.
25 26 27 28 29 30 |
# File 'lib/kombo/models/shared/datachangedwebhookpayload_data.rb', line 25 def initialize(integration_id:, integration_tool:, integration_category:, changed_models:) @integration_id = integration_id @integration_tool = integration_tool @integration_category = integration_category @changed_models = changed_models end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/kombo/models/shared/datachangedwebhookpayload_data.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @integration_id == other.integration_id return false unless @integration_tool == other.integration_tool return false unless @integration_category == other.integration_category return false unless @changed_models == other.changed_models true end |