Sha256: a52d9c5f60f27071e20a57d58bb9f5f8b1a5471a0a09604782297f3cfb52f6b3

Contents?: true

Size: 479 Bytes

Versions: 3

Compression:

Stored size: 479 Bytes

Contents

class Payture::User < Payture::Wallet

  PATH_REGISTER = '/vwapi/Register'
  PATH_UPDATE   = '/vwapi/Update'
  PATH_DELETE   = '/vwapi/Delete'
  PATH_CHECK    = '/vwapi/Check'

  def register(vwid, data)
    self.request(PATH_REGISTER, vwid, data)
  end

  def update(vwid, data)
    self.request(PATH_UPDATE, vwid, data)
  end

  def delete(vwid, data)
    self.request(PATH_DELETE, vwid, data)
  end

  def check(vwid, data)
    self.request(PATH_CHECK, vwid, data)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

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