class Nicos::Connector::MylistAtom

Public Instance Methods

reviewRes(resBody) click to toggle source
# File lib/classes/connector.rb, line 221
def reviewRes(resBody)
  resBody = resBody.force_encoding("UTF-8")
  if # アクセス集中時
    /大変ご迷惑をおかけいたしますが、しばらく時間をあけてから再度検索いただくようご協力をお願いいたします。/ =~         
    resBody then
    serverIsBusy
  elsif /\<entry\>/ =~ resBody && /\<\/entry\>/ =~ resBody
    succeeded(resBody)          
  else
    allDisabled
  end      
end