Module: HammerCLIKatello::SimpleContentAccess::EligibleCheck
- Includes:
- ApipieHelper
- Included in:
- DisableCommand, EnableCommand
- Defined in:
- lib/hammer_cli_katello/simple_content_access.rb
Instance Method Summary collapse
Methods included from ApipieHelper
#call, #destroy, #index, #show, #update
Instance Method Details
#request_params ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/hammer_cli_katello/simple_content_access.rb', line 7 def request_params super.tap do |opts| unless call(:eligible, :simple_content_access, opts)["simple_content_access_eligible"] raise _("This organization is not eligible for Simple Content Access") end end end |