Exception: WuParty::HTTPError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- WuParty::HTTPError
- Defined in:
- lib/wuparty.rb
Overview
Represents a specific error returned from Wufoo.
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Error code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ HTTPError
constructor
:nodoc:.
Constructor Details
#initialize(code, message) ⇒ HTTPError
:nodoc:
20 21 22 23 |
# File 'lib/wuparty.rb', line 20 def initialize(code, ) # :nodoc: @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Error code
26 27 28 |
# File 'lib/wuparty.rb', line 26 def code @code end |