Module: HammerCLIKatello::ResolverCommons::ClassMethods

Defined in:
lib/hammer_cli_katello/commands.rb

Instance Method Summary collapse

Instance Method Details

#resolverObject



26
27
28
29
30
31
# File 'lib/hammer_cli_katello/commands.rb', line 26

def resolver
  HammerCLIKatello::IdResolver.new(
    HammerCLIKatello.api_connection,
    HammerCLIKatello::Searchables.new
  )
end

#resource_name_mappingObject



38
39
40
# File 'lib/hammer_cli_katello/commands.rb', line 38

def resource_name_mapping
  super.merge(HammerCLIKatello::RESOURCE_NAME_MAPPING.dup)
end

#searchablesObject



33
34
35
36
# File 'lib/hammer_cli_katello/commands.rb', line 33

def searchables
  @searchables ||= HammerCLIKatello::Searchables.new
  @searchables
end