lib/lumberg/whm/account.rb
# Generates a list of features you are allowed to use in WHM. Each feature will display either a 1 or 0. You are only able to use features with a corresponding 1
#
# ==== Required
#  * <tt>:username</tt> - PENDING
Generates a list of features you are allowed to use in WHM. Each feature will display either a 1 or 0. You are only able to use features with a corresponding 1
Required
:username - PENDING
Generates a list of features you are allowed to use in WHM . Each feature will display either a 1 or 0 . You are only able to use features with a corresponding 1 Required : username - PENDING
def privs(options ={})
        verify_user(options[:username]) do
          resp = server.perform_request('myprivs', options.merge(response_key: 'privs')) do |s|
            s.boolean_params = :all
          end
          resp[:success] = true
          resp
        end
      end
def privs ( options = { } ) verify_user ( options [ :username ] ) do resp = server . perform_request ( 'myprivs' , options . merge ( response_key : 'privs' ) ) do | s | s . boolean_params = :all end resp [ :success ] = true resp end end
Generates a list of features you are allowed to use in WHM.
Generates a list of features you are allowed to use in WHM .
# if you get this far, it's successful
options