Method: OCI::ObjectStorage::Models::WorkRequestError#==

Defined in:
lib/oci/object_storage/models/work_request_error.rb

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • the other object to be compared



76
77
78
79
80
81
82
83
# File 'lib/oci/object_storage/models/work_request_error.rb', line 76

def ==(other)
  return true if equal?(other)

  self.class == other.class &&
    code == other.code &&
    message == other.message &&
    timestamp == other.timestamp
end