Module: RETS::ReplyErrors
Overview
Generic module that provides access to the code and text separately of the exception
Instance Attribute Summary collapse
-
#reply_code ⇒ Object
readonly
Returns the value of attribute reply_code.
-
#reply_text ⇒ Object
readonly
Returns the value of attribute reply_text.
Instance Method Summary collapse
Instance Attribute Details
#reply_code ⇒ Object (readonly)
Returns the value of attribute reply_code.
5 6 7 |
# File 'lib/rets/exceptions.rb', line 5 def reply_code @reply_code end |
#reply_text ⇒ Object (readonly)
Returns the value of attribute reply_text.
5 6 7 |
# File 'lib/rets/exceptions.rb', line 5 def reply_text @reply_text end |
Instance Method Details
#initialize(msg, reply_code = nil, reply_text = nil) ⇒ Object
7 8 9 10 |
# File 'lib/rets/exceptions.rb', line 7 def initialize(msg, reply_code=nil, reply_text=nil) super(msg) @reply_code, @reply_text = reply_code, reply_text end |