class Moyasar::STCPay
Attributes
branch[R]
cashier[R]
message[R]
mobile[R]
reference_number[R]
transaction_url[R]
Public Instance Methods
==(other)
click to toggle source
# File lib/moyasar/sources/stc_pay.rb, line 5 def ==(other) return unless other.instance_of? STCPay [:mobile, :reference_number, :branch, :cashier, :reference_number, :transaction_url, :message].all? { |attr| self.send(attr) == other.send(attr) } end