class Upay::Payment

Public Instance Methods

get_payment_methods() click to toggle source
# File lib/upay/payment.rb, line 7
def get_payment_methods
  Requestor.new.request(PAYMENTS_API_URL, "GET_PAYMENT_METHODS")
end
ping_payments() click to toggle source
# File lib/upay/payment.rb, line 3
def ping_payments
  Requestor.new.request(PAYMENTS_API_URL, "PING")
end
submit_transaction(payload) click to toggle source
# File lib/upay/payment.rb, line 11
def submit_transaction(payload)
  Requestor.new.request(PAYMENTS_API_URL, "SUBMIT_TRANSACTION", payload)
end