Sha256: 37c4cbaa84ea7066db7f43fc8ef74a657fa8e6113339b49760a03bcb99148b88

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

module FinePrint
  class Configuration
    # Attributes

    # Can be set in initializer only
    ENGINE_OPTIONS = [
      :helpers,
      :layout,
      :authenticate_user_proc,
      :authenticate_manager_proc,
      :current_user_proc
    ]

    # Can be set in initializer or passed as an argument
    # to FinePrint controller methods
    CONTROLLER_OPTIONS = [
      :redirect_to_contracts_proc
    ]
    
    (ENGINE_OPTIONS + CONTROLLER_OPTIONS).each do |option|
      attr_accessor option
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fine_print-3.0.0 lib/fine_print/configuration.rb