class RedhatAccess::Engine

Public Instance Methods

rha_menu(menu, name, options = {}) click to toggle source
# File lib/redhat_access/engine.rb, line 78
def rha_menu(menu, name, options = {})
  options.merge!(:parent => @parent) if @parent
  Menu::Manager.map(menu).push(RhaItem.new(name, options), options)
end
sam_deployment?() click to toggle source

End monkey patching

# File lib/redhat_access/engine.rb, line 87
def sam_deployment?
  # TODO: make generic and move to lib util class
  Foreman::Plugin.installed?('foreman_sam')
end