lib/lumberg/cpanel/mysql_db.rb
# Public: Authorize a remote host to access a cPanel account's MySQL users.
#
# options - Hash options for API call params (default: {})
#   :hostname - String IP address or hostname that should be provided access.
#
# Returns Hash API response.
Authorize a remote host to access a cPanel account's MySQL users.
options - Hash options for API call params (default: {})
:hostname - String IP address or hostname that should be provided access.

Returns Hash API response.
Authorize a remote host to access a cPanel account ' s MySQL users . options - Hash options for API call params ( default : {} ) : hostname - String IP address or hostname that should be provided access . Returns Hash API response .
def add_host(options = {})
        perform_request({
         api_function: 'addhost',
         'arg-0' => options.delete(:hostname)
        }.merge(default_options(options)))
      end
def add_host ( options = { } ) perform_request ( { api_function : 'addhost' , 'arg-0' => options . delete ( :hostname ) } . merge ( default_options ( options ) ) ) end
Public: Authorize a remote host to access a cPanel account's MySQL users.
Public : Authorize a remote host to access a cPanel account ' s MySQL users .
options