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.



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

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.



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

def reply_text
  @reply_text
end