lib/lumberg/cpanel/uapi/email.rb
def account_name(options = {})
          perform_request(
            options.merge(
              api_function: "account_name",
              api_module: 'Email'
            )
          )
        end
# Public: This function returns an email account's username or address.
#
# options - Hash options for API call params (default: {}):
#   :account  - The email address to return the mail account's username.
#               Alternately, the mail account username to return the email address.
#
#               If you do not include this parameter, the function returns All Mail On The Account, or a blank value.
#   :display  - Include this parameter to cause the function to return All Mail On The Account if the account
#               parameter is blank or does not exist.
#
#               If you do not include this parameter and the account value is blank or does not exist, the function
#               returns a blank data value.
#
# Returns Hash API response.
This function returns an email account's username or address.
options - Hash options for API call params (default: {}):
:account  - The email address to return the mail account's username.
Alternately, the mail account username to return the email address.

If you do not include this parameter, the function returns All Mail On The Account, or a blank value.
:display  - Include this parameter to cause the function to return All Mail On The Account if the account
parameter is blank or does not exist.

If you do not include this parameter and the account value is blank or does not exist, the function
returns a blank data value.

Returns Hash API response.
This function returns an email account ' s username or address . options - Hash options for API call params ( default : {} ) : : account - The email address to return the mail account ' s username . Alternately the mail account username to return the email address . If you do not include this parameter the function returns All Mail On The Account or a blank value . : display - Include this parameter to cause the function to return All Mail On The Account if the account parameter is blank or does not exist . If you do not include this parameter and the account value is blank or does not exist the function returns a blank data value . Returns Hash API response .
def account_name(options = {})
          perform_request(
            options.merge(
              api_function: "account_name",
              api_module: 'Email'
            )
          )
        end
def account_name ( options = { } ) perform_request ( options . merge ( api_function : "account_name" , api_module : 'Email' ) ) end
Public: This function returns an email account's username or address.
Public : This function returns an email account ' s username or address .
options