Sha256: 5f3c2ee89d040d014916222d16f120a0013fb025b77b68a89b6801508466ebe7

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

class Payture::Wallet < Payture::API

  PATH_INIT = '/vwapi/Init'
  PATH_PAY = '/vwapi/Pay'
  # PATH_CHARGE = '/vwapi/Charge'

  def init(vwid, data)
    self.request(PATH_INIT, vwid, data)
  end

  def pay(vwid, data)
    self.request(PATH_PAY, vwid, data)
  end

  # def charge(vwid, data)
  #   self.request(PATH_CHARGE, vwid, data)
  # end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
payture_api-0.2.0 lib/payture/wallet.rb
payture_api-0.1.9 lib/payture/wallet.rb
payture_api-0.1.8 lib/payture/wallet.rb