Class: HTTP::Security::MalformedHeader
- Inherits:
-
Object
- Object
- HTTP::Security::MalformedHeader
- Defined in:
- lib/http/security/malformed_header.rb
Instance Attribute Summary collapse
-
#cause ⇒ Parslet::Cause
readonly
Cause of the parser failure.
Instance Method Summary collapse
-
#initialize(value, cause) ⇒ MalformedHeader
constructor
Initializes the malformed header.
Constructor Details
#initialize(value, cause) ⇒ MalformedHeader
Initializes the malformed header.
24 25 26 27 |
# File 'lib/http/security/malformed_header.rb', line 24 def initialize(value,cause) @value = value @cause = cause end |
Instance Attribute Details
#cause ⇒ Parslet::Cause (readonly)
Cause of the parser failure.
13 14 15 |
# File 'lib/http/security/malformed_header.rb', line 13 def cause @cause end |