Permalink
Browse files

Moved add_credit from Invoice to Client

  • Loading branch information...
1 parent cb6f2a2 commit 96815569d9d4c58cf40a13568abd89a0abd4b306 @fcoury fcoury committed with Feb 14, 2012
Showing with 0 additions and 16 deletions.
  1. +0 −16 lib/whmcs/invoice.rb
View
@@ -145,22 +145,6 @@ def self.add_billable_item(params = {})
send_request(params)
end
- # Add a credit to client's account
- #
- # Parameters:
- #
- # * <tt>:clientid</tt> - the ID of the client the credit is to be added to
- # * <tt>:description</tt> - reason for credit being added (stored in admin credit log)
- # * <tt>:amount</tt> - the amount to be added
- #
- # See:
- #
- # http://wiki.whmcs.com/API:Add_Credit
- def self.add_credit(params = {})
- params.merge!(:action => 'addcredit')
- send_request(params)
- end
-
# Add transaction
#
# Parameters:

0 comments on commit 9681556

Please sign in to comment.