lib/t2_airtime/api.rb
Method topup
has 17 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def topup(msisdn, destination_msisdn, product, method = 'topup',
reserved_id = nil, send_sms = true, sms = nil, sender_text = nil,
cid1 = '', cid2 = '', cid3 = '',
operator_id = nil,
return_service_fee = 1, delivered_amount_info = 1, return_timestamp = 1, return_version = 1,
Method msisdn_info
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def msisdn_info(destination_msisdn,
operator_id = nil,
delivered_amount_info = 1, return_service_fee = 1, return_promo = 1)
Method transaction_list
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def transaction_list(start = (Time.now - 24.hours), stop = Time.now, msisdn = nil, destination = nil, code = nil)