Class: StackOne::Models::Shared::StepLogResponse
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::StepLogResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/steplog_response.rb
Overview
The advanced log response data
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(body: nil, custom_mapping_errors: nil, headers: nil, provider_errors: nil, status_code: nil) ⇒ StepLogResponse
constructor
A new instance of StepLogResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(body: nil, custom_mapping_errors: nil, headers: nil, provider_errors: nil, status_code: nil) ⇒ StepLogResponse
Returns a new instance of StepLogResponse.
27 28 29 30 31 32 33 |
# File 'lib/stack_one/models/shared/steplog_response.rb', line 27 def initialize(body: nil, custom_mapping_errors: nil, headers: nil, provider_errors: nil, status_code: nil) @body = body @custom_mapping_errors = custom_mapping_errors @headers = headers @provider_errors = provider_errors @status_code = status_code end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/stack_one/models/shared/steplog_response.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @body == other.body return false unless @custom_mapping_errors == other.custom_mapping_errors return false unless @headers == other.headers return false unless @provider_errors == other.provider_errors return false unless @status_code == other.status_code true end |