Exception: Metrika::Errors::MetrikaError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/metrika/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



4
5
6
# File 'lib/metrika/errors.rb', line 4

def data
  @data
end