Sha256: 8f28b4c70fc6ea077dfef1d95ebc05a632a4627ace84ee53d0a4277fc0ff6641

Contents?: true

Size: 400 Bytes

Versions: 7

Compression:

Stored size: 400 Bytes

Contents

module ForemanPatch
  module Api
    module V2
      class HostGroupsController < BaseController
        def_param_group :group_facet_attributes do
          param :group_id, Integer, desc: N_('Id of the default patch group')
          param :schedule, ['all', 'future-only', 'none'], desc: N_('Schedule host for patching on update, defaults to future-only')
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foreman_patch-1.2.0.alpha1 app/controllers/foreman_patch/api/v2/host_groups_controller.rb
foreman_patch-1.1.6.alpha5 app/controllers/foreman_patch/api/v2/host_groups_controller.rb
foreman_patch-1.1.6.alpha4 app/controllers/foreman_patch/api/v2/host_groups_controller.rb
foreman_patch-1.1.5 app/controllers/foreman_patch/api/v2/host_groups_controller.rb
foreman_patch-1.1.4 app/controllers/foreman_patch/api/v2/host_groups_controller.rb
foreman_patch-1.1.3 app/controllers/foreman_patch/api/v2/host_groups_controller.rb
foreman_patch-1.1.1 app/controllers/foreman_patch/api/v2/host_groups_controller.rb