Class/Module Index [+]

Quicksearch

HammerCLIForeman::SmartClassParametersBriefList

Public Class Methods

build_options(options={}) click to toggle source
# File lib/hammer_cli_foreman/smart_class_parameter.rb, line 23
def self.build_options(options={})
  options[:without] ||= [:host_id, :hostgroup_id, :puppetclass_id, :environment_id]
  super(options)
end

Public Instance Methods

send_request() click to toggle source
# File lib/hammer_cli_foreman/smart_class_parameter.rb, line 15
def send_request
  res = super
  # FIXME: API returns doubled records, probably just if filtered by puppetclasses
  # it seems group by environment is missing
  # having the uniq to fix that
  HammerCLI::Output::RecordCollection.new(res.uniq, :meta => res.meta)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.