Exception: Webmaster::Errors::WebmasterError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



6
7
8
# File 'lib/webmaster/errors.rb', line 6

def data
  @data
end