Module: HammerCLIKatello::LifecycleEnvironmentNameMapping::ClassMethods

Defined in:
lib/hammer_cli_katello/lifecycle_environment_name_mapping.rb

Instance Method Summary collapse

Instance Method Details

#resource_alias_name_mappingObject



15
16
17
# File 'lib/hammer_cli_katello/lifecycle_environment_name_mapping.rb', line 15

def resource_alias_name_mapping
  HammerCLIKatello::RESOURCE_ALIAS_NAME_MAPPING
end

#resource_name_mappingObject



8
9
10
11
12
13
# File 'lib/hammer_cli_katello/lifecycle_environment_name_mapping.rb', line 8

def resource_name_mapping
  mapping = Command.resource_name_mapping
  mapping[:environment] = :lifecycle_environment
  mapping[:environments] = :lifecycle_environments
  mapping
end