class OEHClient::Exception::HTTPRequestException
HTTPRequestException
is used to manage any REST error code that is returned by the OEH
server
Attributes
http_code[RW]
Public Class Methods
new(msg, code)
click to toggle source
override the constructor to add the code value to exception class
Calls superclass method
# File lib/oehclient/exception.rb, line 34 def initialize(msg, code) super(msg) @http_code = code end