Sha256: fcd2fcf70ff0f860b368a4356fbe7391b112710f1a8616c11de9a810e2802423
Contents?: true
Size: 751 Bytes
Versions: 4
Compression:
Stored size: 751 Bytes
Contents
module WepayRails module Api module AccountMethods def create_account(params) self.call_api("/account/create", params) end def get_account(account_id) self.call_api("/account", {:account_id => account_id}) end def find_account(params={}) self.call_api("/account/find", params) end def modify_account(account_id, params={}) self.call_api("/account/modify", params.merge({:account_id => account_id})) end def delete_account(account_id) self.call_api("/account/delete", {:account_id => account_id}) end def get_account_balance(account_id) self.call_api("/account/balance", {:account_id => account_id}) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
wepay-rails-2.6.0 | lib/api/account_methods.rb |
wepay-rails-2.5.2 | lib/api/account_methods.rb |
wepay-rails-2.5.1 | lib/api/account_methods.rb |
wepay-rails-2.5.0 | lib/api/account_methods.rb |