Method: UpBankingClient::WebhookResource#==

Defined in:
lib/up_banking/models/webhook_resource.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



135
136
137
138
139
140
141
142
143
# File 'lib/up_banking/models/webhook_resource.rb', line 135

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      id == o.id &&
      attributes == o.attributes &&
      relationships == o.relationships &&
      links == o.links
end