Module: HammerCLIForeman::ComputeResource::ProviderNameLegacy

Included in:
InfoCommand, ListCommand
Defined in:
lib/hammer_cli_foreman/compute_resource.rb

Instance Method Summary collapse

Instance Method Details

#extend_data(data) ⇒ Object



11
12
13
14
15
# File 'lib/hammer_cli_foreman/compute_resource.rb', line 11

def extend_data(data)
  # api used to return provider_friendly_name as a provider
  data['provider_friendly_name'] ||= data['provider']
  data
end