Sha256: e276f85de9aa1cebf84e7177e8ae8a6233a6bd3c1f3506791191dad9aec73ac3

Contents?: true

Size: 353 Bytes

Versions: 8

Compression:

Stored size: 353 Bytes

Contents

module Foreman
  module Controller
    module Parameters
      module ComputeResourceExtension
        extend ActiveSupport::Concern

        class_methods do
          def compute_resource_params_filter
            super.tap do |filter|
              filter.permit :key_path, :zone
            end
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_google-3.0.2 app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb
foreman_google-3.0.1 app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb
foreman_google-3.0.0 app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb
foreman_google-2.0.1 app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb
foreman_google-2.0.0 app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb
foreman_google-1.0.4 app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb
foreman_google-1.0.3 app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb
foreman_google-1.0.2 app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb