Method: Falcon::IocapiPaginationMeta#==

Defined in:
lib/crimson-falcon/models/iocapi_pagination_meta.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



121
122
123
124
125
126
127
128
# File 'lib/crimson-falcon/models/iocapi_pagination_meta.rb', line 121

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      limit == o.limit &&
      next_page == o.next_page &&
      offset == o.offset &&
      total == o.total
end