Exception: Rets::NoObjectFound

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/rets.rb

Constant Summary collapse

ERROR_CODE =
20403

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reply_text) ⇒ NoObjectFound

Returns a new instance of NoObjectFound.



36
37
38
39
# File 'lib/rets.rb', line 36

def initialize(reply_text)
  @reply_text = reply_text
  super("Got error code #{ERROR_CODE} (#{reply_text})")
end

Instance Attribute Details

#reply_textObject (readonly)

Returns the value of attribute reply_text.



34
35
36
# File 'lib/rets.rb', line 34

def reply_text
  @reply_text
end