lib/lumberg/cpanel/file_manager.rb
def show(options = {})
        options[:dir] = options.delete(:directory)

        perform_request({ api_function: 'viewfile' }.merge(options))
      end
# Public: View a file within your home directory. This function also
# display additional information about the file such as the contents of a
# tarball, a link to an image and more
#
# options - Hash options for API call params (default: {})
#   :directory - String directory in which the file is located. Path must
#                be relative to user's home, e.g: 'public_html/files/'
#                (default: '')
#   :file - String path to the file you wish to view
#
# Returns Hash API response.
View a file within your home directory. This function also
display additional information about the file such as the contents of a
tarball, a link to an image and more

Hash options for API call params (default: {})
:directory - String directory in which the file is located.

Returns Hash API response.
View a file within your home directory . This function also display additional information about the file such as the contents of a tarball a link to an image and more Hash options for API call params ( default : {} ) : directory - String directory in which the file is located . Returns Hash API response .
def show(options = {})
        options[:dir] = options.delete(:directory)
        perform_request({ api_function: 'viewfile' }.merge(options))
      end
def show ( options = { } ) options [ :dir ] = options . delete ( :directory ) perform_request ( { api_function : 'viewfile' } . merge ( options ) ) end
Public: View a file within your home directory.
Public : View a file within your home directory .
options