method

new

new(secret, options = {})
public

No documentation available.

# File activesupport/lib/active_support/message_verifier.rb, line 30
    def initialize(secret, options = {})
      raise ArgumentError, 'Secret should not be nil.' unless secret
      @secret = secret
      @digest = options[:digest] || 'SHA1'
      @serializer = options[:serializer] || Marshal
    end