Sha256: 3241a0b230d78ea33228f575520a9930ccb40b50f4084f464926dfcc50eadd96

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

require_relative "validate_params/version"
require_relative "validate_params/validatable"
Dir[File.join(__dir__, 'validate_params/types', '*.rb')].each { |file| require file }
Dir[File.join(__dir__, 'validate_params/validators', '*.rb')].each { |file| require file }

module ValidateParams
  class Error < StandardError; end
end

ActiveSupport.on_load(:action_controller) do
  include ValidateParams::Validatable
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validate-params-0.6.1 lib/validate_params.rb
validate-params-0.6.0 lib/validate_params.rb