Class: Lumberg::Cpanel::Locale

Inherits:
Base show all
Defined in:
lib/lumberg/cpanel/locale.rb

Overview

Public: Allows access into cPanel's language system

Instance Attribute Summary

Attributes inherited from Base

#api_username

Attributes inherited from Whm::Base

#server

Instance Method Summary collapse

Methods inherited from Base

api_module, #initialize, #perform_request

Methods inherited from Whm::Base

#initialize, #setup_server

Constructor Details

This class inherits a constructor from Lumberg::Cpanel::Base

Instance Method Details

#showObject

Public: Retrieve a user's character set encoding

Returns Hash API response


8
9
10
# File 'lib/lumberg/cpanel/locale.rb', line 8

def show
  perform_request({ api_function: 'get_encoding' })
end