Sha256: 660811bdf46bcfa7e5ff01321e15c964b952eac4b40d6e42ebd77f1d3d260e21
Contents?: true
Size: 732 Bytes
Versions: 2
Compression:
Stored size: 732 Bytes
Contents
module WepayRails module Api module AccountMethods def create_account(params) self.call("/account/create", {:body => params}) end def get_account(account_id) self.call("/account", {:body => {:account_id => account_id}}) end def find_account(args) self.call("/account/find", {:body => args}) end def modify_account(args) self.call("/account/modify", {:body => args}) end def delete_account(account_id) self.call("/account/delete", {:body => {:account_id => account_id}}) end def get_account_balance(account_id) self.call("/account/balance", {:body => {:account_id => account_id}}) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wepay-rails-1.1.0 | lib/api/account_methods.rb |
wepay-rails-1.0.0 | lib/api/account_methods.rb |