<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>new (Sinatra::Rabbit::UnsupportedCollectionException)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/sinatra/rabbit.rb, line 34</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-comment cmt"># The server understood the request, but is refusing to fulfill it. Authorization will not help and the request</span> <span class="ruby-comment cmt"># SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request</span> <span class="ruby-comment cmt"># has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish</span> <span class="ruby-comment cmt"># to make this information available to the client, the status code 404 (Not Found) can be used instead.</span> <span class="ruby-keyword kw">super</span>(<span class="ruby-value">403</span>, <span class="ruby-value str">'UnsupportedCollection'</span>, <span class="ruby-value str">"Requested collection is not supported for current provider"</span>, []) <span class="ruby-keyword kw">end</span></pre> </body> </html>