Exception: CookieJar::InvalidCookieError
- Inherits:
-
StandardError
- Object
- StandardError
- CookieJar::InvalidCookieError
- Defined in:
- lib/cookiejar/cookie_validation.rb
Overview
Represents a set of cookie validation errors
Instance Attribute Summary collapse
-
#messages ⇒ Object
readonly
- Array<String>
-
the specific validation issues encountered.
Instance Method Summary collapse
-
#initialize(message) ⇒ InvalidCookieError
constructor
Create a new instance.
Constructor Details
#initialize(message) ⇒ InvalidCookieError
Create a new instance
11 12 13 14 15 16 17 18 19 |
# File 'lib/cookiejar/cookie_validation.rb', line 11 def initialize if .is_a? Array @messages = = .join ', ' else @messages = [] end super end |
Instance Attribute Details
#messages ⇒ Object (readonly)
- Array<String>
-
the specific validation issues encountered
7 8 9 |
# File 'lib/cookiejar/cookie_validation.rb', line 7 def @messages end |