Module: PaymentRecipes::Utils::Equality

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



4
5
6
# File 'lib/payment_recipes/utils/equality.rb', line 4

def ==(other)
  @id == other.id && self.class.name == other.class.name
end