Exception: WuParty::HTTPError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/wuparty.rb

Overview

Represents a specific error returned from Wufoo.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, message) ⇒ HTTPError

:nodoc:



20
21
22
23
# File 'lib/wuparty.rb', line 20

def initialize(code, message) # :nodoc:
  @code = code
  super(message)
end

Instance Attribute Details

#codeObject (readonly)

Error code



26
27
28
# File 'lib/wuparty.rb', line 26

def code
  @code
end