Exception: Reviewed::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- Reviewed::BaseError
- Defined in:
- lib/reviewed.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ BaseError
constructor
A new instance of BaseError.
Constructor Details
#initialize(opts = {}) ⇒ BaseError
Returns a new instance of BaseError.
39 40 41 42 |
# File 'lib/reviewed.rb', line 39 def initialize(opts={}) @url = opts[:url] super(opts[:msg]) end |
Instance Attribute Details
#url ⇒ Object
Returns the value of attribute url.
37 38 39 |
# File 'lib/reviewed.rb', line 37 def url @url end |