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