Class: Fields::Template

Inherits:
Reference show all
Defined in:
lib/hammer_cli_foreman/output/fields.rb

Instance Method Summary collapse

Methods inherited from Reference

#initialize

Constructor Details

This class inherits a constructor from Fields::Reference

Instance Method Details

#initialize_optionsObject



49
50
51
52
# File 'lib/hammer_cli_foreman/output/fields.rb', line 49

def initialize_options
  super
  @options[:details] << template_kind_detail
end

#template_kind_detailObject



54
55
56
57
58
59
# File 'lib/hammer_cli_foreman/output/fields.rb', line 54

def template_kind_detail
  {
    :structured_label => _('Kind'),
    :key => :template_kind_name,
  }
end