Method: CloudsmithApi::AllocatedLimit#==

Defined in:
lib/cloudsmith-api/models/allocated_limit.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



85
86
87
88
89
90
91
92
# File 'lib/cloudsmith-api/models/allocated_limit.rb', line 85

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      configured == o.configured &&
      percentage_used == o.percentage_used &&
      plan_limit == o.plan_limit &&
      used == o.used
end