Class: Nicos::Connector::MylistAtom
- Defined in:
- lib/classes/connector.rb
Instance Attribute Summary
Attributes inherited from Connector
Instance Method Summary collapse
Methods inherited from Xml
Methods inherited from Connector
Methods included from SetWait
Methods inherited from Config
Constructor Details
This class inherits a constructor from Nicos::Connector::Connector
Instance Method Details
#reviewRes(resBody) ⇒ Object
222 223 224 225 226 227 228 229 230 231 232 233 |
# File 'lib/classes/connector.rb', line 222 def reviewRes(resBody) resBody = resBody.force_encoding("UTF-8") if # アクセス集中時 /大変ご迷惑をおかけいたしますが、しばらく時間をあけてから再度検索いただくようご協力をお願いいたします。/ =~ resBody then serverIsBusy elsif /\<entry\>/ =~ resBody && /\<\/entry\>/ =~ resBody succeeded(resBody) else allDisabled end end |