class Nicos::Connector::MylistHtml

Public Instance Methods

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