Exception: Webpoke::TestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/Webpoke/Test.rb

Direct Known Subclasses

TestHTTPError, TestParseError, TestSuccessError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, object = nil) ⇒ TestError

Returns a new instance of TestError.



153
154
155
156
# File 'lib/Webpoke/Test.rb', line 153

def initialize(message=nil, object=nil)
  super(message)
  self.object = object
end

Instance Attribute Details

#objectObject

Returns the value of attribute object.



152
153
154
# File 'lib/Webpoke/Test.rb', line 152

def object
  @object
end