Class/Module Index [+]

Quicksearch

ForemanApi::Resources::OsDefaultTemplate

Public Class Methods

doc() click to toggle source
# File lib/foreman_api/resources/os_default_template.rb, line 4
def self.doc
  @doc ||= ForemanApi.doc['resources']["os_default_templates"]
end

Public Instance Methods

create(params = {}, headers = {}) click to toggle source

@param [Hash] params a hash of params to be passed to the service @option params [String] operatingsystem_id id of operating system @option params [Hash, nil] os_default_template

allowed keys are:
* config_template_id [String, nil]
* template_kind_id [String, nil]

@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body

# File lib/foreman_api/resources/os_default_template.rb, line 38
def create(params = {}, headers = {})
  perform_call(__method__, params, headers)
end
destroy(params = {}, headers = {}) click to toggle source

@param [Hash] params a hash of params to be passed to the service @option params [String] id @option params [String] operatingsystem_id id of operating system

@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body

# File lib/foreman_api/resources/os_default_template.rb, line 62
def destroy(params = {}, headers = {})
  perform_call(__method__, params, headers)
end
index(params = {}, headers = {}) click to toggle source

@param [Hash] params a hash of params to be passed to the service @option params [String] operatingsystem_id id of operating system @option params [String] page paginate results @option params [String] per_page number of entries per request

@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body

# File lib/foreman_api/resources/os_default_template.rb, line 15
def index(params = {}, headers = {})
  perform_call(__method__, params, headers)
end
show(params = {}, headers = {}) click to toggle source

@param [Hash] params a hash of params to be passed to the service @option params [String] id @option params [String] operatingsystem_id id of operating system

@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body

# File lib/foreman_api/resources/os_default_template.rb, line 25
def show(params = {}, headers = {})
  perform_call(__method__, params, headers)
end
update(params = {}, headers = {}) click to toggle source

@param [Hash] params a hash of params to be passed to the service @option params [String] id @option params [String] operatingsystem_id id of operating system @option params [Hash, nil] os_default_template

allowed keys are:
* config_template_id [String, nil]
* template_kind_id [String, nil]

@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body

# File lib/foreman_api/resources/os_default_template.rb, line 52
def update(params = {}, headers = {})
  perform_call(__method__, params, headers)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.