Sha256: 5ba7a5b1ce7f2b564248b69cbff8c7cba7d1b8e6c3b7fc0fa006085882a2b2ed

Contents?: true

Size: 869 Bytes

Versions: 1

Compression:

Stored size: 869 Bytes

Contents

require 'postfix_status_line/version'
require 'postfix_status_line_core'

module PostfixStatusLine
  SHA_ALGORITHM = %w(1 224 256 384 512)

  def parse(str, options = {})
    mask = options.has_key?(:mask) ? options[:mask] : true
    hash = options[:hash]
    salt = options[:salt]
    parse_time = options[:parse_time]
    sha_algo = options[:sha_algorithm]
    PostfixStatusLine::Core.parse(str, mask, hash, salt, parse_time, sha_algo)
  end
  module_function :parse

  def parse_header_checks_warning(str, options = {})
    mask = options.has_key?(:mask) ? options[:mask] : true
    hash = options[:hash]
    salt = options[:salt]
    parse_time = options[:parse_time]
    sha_algo = options[:sha_algorithm]
    PostfixStatusLine::Core.parse_header_checks_warning(str, mask, hash, salt, parse_time, sha_algo)
  end
  module_function :parse_header_checks_warning
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
postfix_status_line-0.2.7 lib/postfix_status_line.rb