Class: Payture::Wallet
Constant Summary collapse
- PATH_INIT =
'/vwapi/Init'
- PATH_PAY =
'/vwapi/Pay'
Instance Method Summary collapse
-
#init(vwid, data) ⇒ Object
PATH_CHARGE = ‘/vwapi/Charge’.
- #pay(vwid, data) ⇒ Object
Methods inherited from API
Constructor Details
This class inherits a constructor from Payture::API
Instance Method Details
#init(vwid, data) ⇒ Object
PATH_CHARGE = ‘/vwapi/Charge’
7 8 9 |
# File 'lib/payture/wallet.rb', line 7 def init(vwid, data) self.request(PATH_INIT, vwid, data) end |
#pay(vwid, data) ⇒ Object
11 12 13 |
# File 'lib/payture/wallet.rb', line 11 def pay(vwid, data) self.request(PATH_PAY, vwid, data) end |