Method: TalonOne::TierUpgradeNotificationPolicy#==

Defined in:
lib/talon_one/models/tier_upgrade_notification_policy.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



119
120
121
122
123
124
125
# File 'lib/talon_one/models/tier_upgrade_notification_policy.rb', line 119

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      name == o.name &&
      batching_enabled == o.batching_enabled &&
      batch_size == o.batch_size
end