Sha256: c37b3d98ad402a9687f4feec0524ea951353ac7ee16f08c5bb26ec0d3fab773e

Contents?: true

Size: 612 Bytes

Versions: 1

Compression:

Stored size: 612 Bytes

Contents

module RubySkynet #:nodoc:
  class Railtie < Rails::Railtie #:nodoc:

    # Exposes DataCleansing configuration to the Rails application configuration.
    #
    # @example Set up configuration in the Rails app.
    #   module MyApplication
    #     class Application < Rails::Application
    #       config.data_cleansing.masked_attributes :bank_account_number, :social_security_number
    #       config.data_cleansing.cleansing_log_level :info
    #       config.data_cleansing.register_cleaner(:strip) {|string| string.strip!}
    #     end
    #   end
    config.data_cleansing = ::DataCleansing
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
data_cleansing-0.4.0 lib/data_cleansing/railtie.rb