Class: Pwnix::Api::Client::ApiConfig
- Inherits:
-
Object
- Object
- Pwnix::Api::Client::ApiConfig
show all
- Includes:
- HTTParty, HTTPartyTime
- Defined in:
- lib/pwnix-api-client/node/api_config.rb
Instance Method Summary
collapse
#clear_errors, #errors, #has_errors?, included, #last_error, #safe_api_call
Instance Method Details
#dump ⇒ Object
8
9
10
|
# File 'lib/pwnix-api-client/node/api_config.rb', line 8
def dump
safe_api_call("/node/config/api/dump")
end
|
#set(config) ⇒ Object
12
13
14
|
# File 'lib/pwnix-api-client/node/api_config.rb', line 12
def set(config)
safe_api_call("/node/config/api/set", :config => config)
end
|