Exception: Gettc::CookieError
- Inherits:
-
DownloadError
- Object
- StandardError
- DownloadError
- Gettc::CookieError
- Defined in:
- lib/gettc/download.rb
Instance Attribute Summary collapse
-
#cookie ⇒ Object
Returns the value of attribute cookie.
Instance Method Summary collapse
-
#initialize(cookie, message = "Cookie is in bad format") ⇒ CookieError
constructor
A new instance of CookieError.
Constructor Details
#initialize(cookie, message = "Cookie is in bad format") ⇒ CookieError
Returns a new instance of CookieError.
54 55 56 57 |
# File 'lib/gettc/download.rb', line 54 def initialize(, = "Cookie is in bad format") @cookie = super "#{}\nCookie: #{@cookie}" end |
Instance Attribute Details
#cookie ⇒ Object
Returns the value of attribute cookie.
52 53 54 |
# File 'lib/gettc/download.rb', line 52 def @cookie end |