Class: Payture::Card

Inherits:
Wallet show all
Defined in:
lib/payture/card.rb

Constant Summary collapse

PATH_LIST =
'/vwapi/GetList'
PATH_REMOVE =
'/vwapi/Remove'

Constants inherited from Wallet

Wallet::PATH_INIT, Wallet::PATH_PAY

Instance Method Summary collapse

Methods inherited from Wallet

#init, #pay

Methods inherited from API

#host, #initialize, #request

Constructor Details

This class inherits a constructor from Payture::API

Instance Method Details

#list(vwid, data) ⇒ Object



6
7
8
# File 'lib/payture/card.rb', line 6

def list(vwid, data)
  self.request(PATH_LIST, vwid, data)
end

#remove(vwid, data) ⇒ Object



10
11
12
# File 'lib/payture/card.rb', line 10

def remove(vwid, data)
  self.request(PATH_REMOVE, vwid, data)
end