Exception: FeedBooks::UnauthenticatedError
- Inherits:
-
StandardError
- Object
- StandardError
- FeedBooks::UnauthenticatedError
- Defined in:
- lib/ruby-feedbooks.rb
Overview
Error class when not authenticated
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(m = nil) ⇒ UnauthenticatedError
constructor
A new instance of UnauthenticatedError.
Constructor Details
#initialize(m = nil) ⇒ UnauthenticatedError
Returns a new instance of UnauthenticatedError.
32 33 34 |
# File 'lib/ruby-feedbooks.rb', line 32 def initialize(m=nil) super(m.nil? ? "You are not connected (no user/password)": m) end |