Method: ForemanApi::Resources::HostClass#destroy

Defined in:
lib/foreman_api/resources/host_class.rb

#destroy(params = {}, headers = {}) ⇒ Array

Returns First item: parsed data; second item: raw body.

Parameters:

  • params (Hash) (defaults to: {})

    a hash of params to be passed to the service

  • headers (Hash) (defaults to: {})

    additional http headers

Options Hash (params):

  • id (String)

    id of puppetclass

  • host_id (String)

    id of host

Returns:

  • (Array)

    First item: parsed data; second item: raw body



33
34
35
# File 'lib/foreman_api/resources/host_class.rb', line 33

def destroy(params = {}, headers = {})
  perform_call(__method__, params, headers)
end