Method: KlaviyoAPI::RejectReasonUnrelated#==

Defined in:
lib/klaviyo-api-sdk/models/reject_reason_unrelated.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



84
85
86
87
88
# File 'lib/klaviyo-api-sdk/models/reject_reason_unrelated.rb', line 84

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      reason == o.reason
end