Class: Lumberg::Cpanel::Backups

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

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

#list(options = {}) ⇒ Object

Public: Get a list backups.

options - Hash options for API call params (default: {})

Returns Hash API response.



9
10
11
12
13
# File 'lib/lumberg/cpanel/backups.rb', line 9

def list(options = {})
  perform_request({
    api_function: "listfullbackups"
  }.merge(options))
end