Sha256: 667bec46f011f6002a001a66b3814d70f3fececa8cb2f07c156878977c68a243

Contents?: true

Size: 690 Bytes

Versions: 9

Compression:

Stored size: 690 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(args)
        self.call_api("/account/find", args)
      end

      def modify_account(args)
        self.call_api("/account/modify", args)
      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

9 entries across 9 versions & 1 rubygems

Version Path
wepay-rails-2.2.9 lib/api/account_methods.rb
wepay-rails-2.2.5 lib/api/account_methods.rb
wepay-rails-2.2.4 lib/api/account_methods.rb
wepay-rails-2.2.3 lib/api/account_methods.rb
wepay-rails-2.2.2 lib/api/account_methods.rb
wepay-rails-2.2.1 lib/api/account_methods.rb
wepay-rails-2.2.0 lib/api/account_methods.rb
wepay-rails-2.1.0 lib/api/account_methods.rb
wepay-rails-2.0.0 lib/api/account_methods.rb