Method: OryClient::Pagination#==

Defined in:
lib/ory-client/models/pagination.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



124
125
126
127
128
129
# File 'lib/ory-client/models/pagination.rb', line 124

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