Module: HammerCLIKatello::ResolverCommons::ClassMethods

Defined in:
lib/hammer_cli_katello/commands.rb

Instance Method Summary collapse

Instance Method Details

#resolverObject



18
19
20
21
22
23
# File 'lib/hammer_cli_katello/commands.rb', line 18

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

#resource_name_mappingObject



30
31
32
# File 'lib/hammer_cli_katello/commands.rb', line 30

def resource_name_mapping
  HammerCLIKatello::RESOURCE_NAME_MAPPING.dup
end

#searchablesObject



25
26
27
28
# File 'lib/hammer_cli_katello/commands.rb', line 25

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