Exception: Yandex::Webmaster::Errors::WebmasterError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yandex-webmaster/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ WebmasterError

Returns a new instance of WebmasterError.



9
10
11
12
# File 'lib/yandex-webmaster/errors.rb', line 9

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



7
8
9
# File 'lib/yandex-webmaster/errors.rb', line 7

def data
  @data
end