class Moyasar::CreditCard

Attributes

company[R]
message[R]
name[R]
number[R]
transaction_url[R]

Public Instance Methods

==(other) click to toggle source
# File lib/moyasar/sources/credit_card.rb, line 5
def ==(other)
  return unless other.instance_of? CreditCard
  [:company, :name, :number, :message].all? { |attr| self.send(attr) == other.send(attr) }
end