Class: HammerCLIKatello::ContentView::InfoCommand
- Inherits:
-
InfoCommand
- Object
- HammerCLIForeman::InfoCommand
- InfoCommand
- HammerCLIKatello::ContentView::InfoCommand
- Includes:
- OrganizationOptions
- Defined in:
- lib/hammer_cli_katello/content_view.rb
Instance Method Summary collapse
Methods included from OrganizationOptions
Methods included from ResolverCommons
Instance Method Details
#extend_data(data) ⇒ Object
86 87 88 89 90 91 92 93 94 |
# File 'lib/hammer_cli_katello/content_view.rb', line 86 def extend_data(data) %w(yum docker ostree).each do |content_type| data["_#{content_type}_repositories"] = data["repositories"].select do |repo| repo["content_type"] == content_type end end data end |