Method: Coinbase::Client::FetchStakingRewards200Response#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



124
125
126
127
128
129
130
# File 'lib/coinbase/client/models/fetch_staking_rewards200_response.rb', line 124

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      data == o.data &&
      has_more == o.has_more &&
      next_page == o.next_page
end