Sha256: 31ce767afbce0e560ea835b4d319c8fd1f8f2692a90c72786d51d300f389a0aa

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

# frozen_string_literal: true

module Dry
  module Validation
    module Rails
      class Configuration
        DEFAULT_SCHEMA_PREFIX = ''
        DEFAULT_SCHEMA_SUFFIX = 'Schema'

        attr_accessor :default_schema_prefix, :default_schema_suffix

        def initialize(default_schema_prefix: DEFAULT_SCHEMA_PREFIX, default_schema_suffix: DEFAULT_SCHEMA_SUFFIX)
          @default_schema_prefix = default_schema_prefix
          @default_schema_suffix = default_schema_suffix
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-validation-rails-0.1.1 lib/dry/validation/rails/configuration.rb