Parent

Methods

Class/Module Index [+]

Quicksearch

HammerCLIForeman::Searchables

Protected Class Methods

s(name, description, options={}) click to toggle source
# File lib/hammer_cli_foreman/id_resolver.rb, line 27
def self.s(name, description, options={})
  Searchable.new(name, description, options)
end
s_name(description, options={}) click to toggle source
# File lib/hammer_cli_foreman/id_resolver.rb, line 31
def self.s_name(description, options={})
  s("name", description, options)
end

Public Instance Methods

for(resource) click to toggle source
# File lib/hammer_cli_foreman/id_resolver.rb, line 69
def for(resource)
  SEARCHABLES[resource.singular_name.to_sym] || DEFAULT_SEARCHABLES
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.