Exception: PinterestURLNormalizer::Error
- Inherits:
-
StandardError
- Object
- StandardError
- PinterestURLNormalizer::Error
- Defined in:
- lib/pinterest_url_normalizer.rb
Overview
An invalid URL or unsupported Pinterest path.
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code, message) ⇒ Error
Returns a new instance of Error.
58 59 60 61 |
# File 'lib/pinterest_url_normalizer.rb', line 58 def initialize(code, ) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
56 57 58 |
# File 'lib/pinterest_url_normalizer.rb', line 56 def code @code end |