Method: Rets::InvalidRequest#initialize
- Defined in:
- lib/rets.rb
#initialize(error_code, reply_text) ⇒ InvalidRequest
Returns a new instance of InvalidRequest.
44 45 46 47 48 |
# File 'lib/rets.rb', line 44 def initialize(error_code, reply_text) @error_code = error_code @reply_text = reply_text super("Got error code #{error_code} (#{reply_text})") end |