Exception: Webmaster::Errors::WebmasterError
- Defined in:
- lib/webmaster/errors.rb
Direct Known Subclasses
AccessDeniedError, GeneralError, NoTokenError, NotFoundError, ResourceError, UnauthorizedError
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ WebmasterError
constructor
A new instance of WebmasterError.
Constructor Details
#initialize(data) ⇒ WebmasterError
Returns a new instance of WebmasterError.
8 9 10 11 |
# File 'lib/webmaster/errors.rb', line 8 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
6 7 8 |
# File 'lib/webmaster/errors.rb', line 6 def data @data end |