Method: UltracartClient::GroupsResponse#==

Defined in:
lib/ultracart_api/models/groups_response.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



115
116
117
118
119
120
121
122
123
# File 'lib/ultracart_api/models/groups_response.rb', line 115

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      error == o.error &&
      groups == o.groups &&
       == o. &&
      success == o.success &&
      warning == o.warning
end