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