Exception: Rets::NoRecordsFound

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

Constant Summary collapse

ERROR_CODE =
20201

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reply_text) ⇒ NoRecordsFound

Returns a new instance of NoRecordsFound.



25
26
27
28
# File 'lib/rets.rb', line 25

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.



23
24
25
# File 'lib/rets.rb', line 23

def reply_text
  @reply_text
end