Method: Coinbase::Client::ERC721TransferEvent#==

Defined in:
lib/coinbase/client/models/erc721_transfer_event.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 192

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      webhook_id == o.webhook_id &&
      event_type == o.event_type &&
      network == o.network &&
      block_hash == o.block_hash &&
      block_number == o.block_number &&
      block_time == o.block_time &&
      transaction_hash == o.transaction_hash &&
      transaction_index == o.transaction_index &&
      log_index == o.log_index &&
      contract_address == o.contract_address &&
      from == o.from &&
      to == o.to &&
      token_id == o.token_id
end