class Moyasar::ApplePay

Attributes

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

Public Instance Methods

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