class DKIM::Query::MalformedKey

Represents a unparsable DKIM key.

Attributes

cause[R]

Cause of the parser failure.

@return [Parslet::Cause]

to_s[R]

Raw value of the DKIM key.

@return [String]

value[R]

Raw value of the DKIM key.

@return [String]

Public Class Methods

new(value,cause) click to toggle source

Initializes the malformed key.

@param [String] value

The raw DKIM key.

@param [Parslet::Cause] cause

The cause of the parser failure.
# File lib/dkim/query/malformed_key.rb, line 27
def initialize(value,cause)
  @value = value
  @cause = cause
end