class Nicos::Connector::TagAtom

Private Instance Methods

forbidden() click to toggle source
# File lib/classes/connector.rb, line 201
def forbidden
  # マイリストが非公開の場合、html/Atomのどちらへのリクエストであっても、403が返ってくる。
  notPublic
end
reviewRes(resBody) click to toggle source
# File lib/classes/connector.rb, line 206
def reviewRes(resBody)
  resBody = resBody.force_encoding("UTF-8")
  if # アクセス集中時
    /大変ご迷惑をおかけいたしますが、しばらく時間をあけてから再度検索いただくようご協力をお願いいたします。/ =~         
    resBody then
    serverIsBusy
  elsif /\<entry\>/ =~ resBody && /\<\/entry\>/ =~ resBody
    succeeded(resBody)          
  else
    reachedLast
  end      
end