Class: HammerCLIForeman::ComputeResources::Rackspace::HostHelpExtenstion

Inherits:
Object
  • Object
show all
Defined in:
lib/hammer_cli_foreman/compute_resources/rackspace/host_help_extenstion.rb

Instance Method Summary collapse

Instance Method Details

#host_create_help(h) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/hammer_cli_foreman/compute_resources/rackspace/host_help_extenstion.rb', line 9

def host_create_help(h)
  h.section '--compute-attributes' do |h|
    h.list([
      'flavor_id',
      'image_id'
    ])
  end
end

#nameObject



5
6
7
# File 'lib/hammer_cli_foreman/compute_resources/rackspace/host_help_extenstion.rb', line 5

def name
  _('Rackspace')
end