Module: PaymentRecipes::Utils::Equality
- Included in:
- PayPal::REST::Authorization, PayPal::REST::Capture, PayPal::REST::Payment, PayPal::REST::Refund, PayPal::REST::Sale, PayPal::SOAP::Transaction
- Defined in:
- lib/payment_recipes/utils/equality.rb
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 |