<?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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Class: Sinatra::Rabbit::Operation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> <script type="text/javascript"> // <![CDATA[ function popupCode( url ) { window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") } function toggleCode( id ) { if ( document.getElementById ) elem = document.getElementById( id ); else if ( document.all ) elem = eval( "document.all." + id ); else return false; elemStyle = elem.style; if ( elemStyle.display != "block" ) { elemStyle.display = "block" } else { elemStyle.display = "none" } return true; } // Make codeblocks hidden by default document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) // ]]> </script> </head> <body> <div id="classHeader"> <table class="header-table"> <tr class="top-aligned-row"> <td><strong>Class</strong></td> <td class="class-name-in-header">Sinatra::Rabbit::Operation</td> </tr> <tr class="top-aligned-row"> <td><strong>In:</strong></td> <td> <a href="../../../files/lib/sinatra/rabbit_rb.html"> lib/sinatra/rabbit.rb </a> <br /> </td> </tr> <tr class="top-aligned-row"> <td><strong>Parent:</strong></td> <td> Object </td> </tr> </table> </div> <!-- banner header --> <div id="bodyContent"> <div id="contextContent"> </div> <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> <a href="#M000226">control</a> <a href="#M000223">description</a> <a href="#M000229">effective_params</a> <a href="#M000222">form?</a> <a href="#M000228">generate</a> <a href="#M000224">generate_documentation</a> <a href="#M000225">generate_options</a> <a href="#M000220">http_method</a> <a href="#M000219">new</a> <a href="#M000227">path</a> <a href="#M000221">standard?</a> </div> </div> </div> <!-- if includes --> <div id="includes"> <h3 class="section-bar">Included Modules</h3> <div id="includes-list"> <span class="include-name"><a href="../../Deltacloud/BackendCapability.html">::Deltacloud::BackendCapability</a></span> <span class="include-name"><a href="../../Deltacloud/Validation.html">::Deltacloud::Validation</a></span> <span class="include-name"><a href="../../ApplicationHelper.html">::ApplicationHelper</a></span> </div> </div> <div id="section"> <div id="constants-list"> <h3 class="section-bar">Constants</h3> <div class="name-list"> <table summary="Constants"> <tr class="top-aligned-row context-row"> <td class="context-item-name">STANDARD</td> <td>=</td> <td class="context-item-value">{ :new => { :method => :get, :member => false, :form => true }, :index => { :method => :get, :member => false }, :show => { :method => :get, :member => true }, :create => { :method => :post, :member => false }, :update => { :method => :put, :member => true }, :destroy => { :method => :delete, :member => true }</td> </tr> </table> </div> </div> <div id="attribute-list"> <h3 class="section-bar">Attributes</h3> <div class="name-list"> <table> <tr class="top-aligned-row context-row"> <td class="context-item-name">collection</td> <td class="context-item-value"> [R] </td> <td class="context-item-desc"></td> </tr> <tr class="top-aligned-row context-row"> <td class="context-item-name">member</td> <td class="context-item-value"> [R] </td> <td class="context-item-desc"></td> </tr> <tr class="top-aligned-row context-row"> <td class="context-item-name">method</td> <td class="context-item-value"> [R] </td> <td class="context-item-desc"></td> </tr> <tr class="top-aligned-row context-row"> <td class="context-item-name">name</td> <td class="context-item-value"> [R] </td> <td class="context-item-desc"></td> </tr> </table> </div> </div> <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Class methods</h3> <div id="method-M000219" class="method-detail"> <a name="M000219"></a> <div class="method-heading"> <a href="Operation.src/M000219.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000219.html');return false;"> <span class="method-name">new</span><span class="method-args">(coll, name, opts, &block)</span> </a> </div> <div class="method-description"> </div> </div> <h3 class="section-bar">Public Instance methods</h3> <div id="method-M000226" class="method-detail"> <a name="M000226"></a> <div class="method-heading"> <a href="Operation.src/M000226.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000226.html');return false;"> <span class="method-name">control</span><span class="method-args">(&block)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000223" class="method-detail"> <a name="M000223"></a> <div class="method-heading"> <a href="Operation.src/M000223.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000223.html');return false;"> <span class="method-name">description</span><span class="method-args">(text="")</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000229" class="method-detail"> <a name="M000229"></a> <div class="method-heading"> <a href="Operation.src/M000229.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000229.html');return false;"> <span class="method-name">effective_params</span><span class="method-args">(driver)</span> </a> </div> <div class="method-description"> <p> Return a hash of all params, the params statically defined for this operation plus the params defined by any features in the <tt>driver</tt> that might modify this operation </p> </div> </div> <div id="method-M000222" class="method-detail"> <a name="M000222"></a> <div class="method-heading"> <a href="Operation.src/M000222.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000222.html');return false;"> <span class="method-name">form?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000228" class="method-detail"> <a name="M000228"></a> <div class="method-heading"> <a href="Operation.src/M000228.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000228.html');return false;"> <span class="method-name">generate</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000224" class="method-detail"> <a name="M000224"></a> <div class="method-heading"> <a href="Operation.src/M000224.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000224.html');return false;"> <span class="method-name">generate_documentation</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000225" class="method-detail"> <a name="M000225"></a> <div class="method-heading"> <a href="Operation.src/M000225.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000225.html');return false;"> <span class="method-name">generate_options</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000220" class="method-detail"> <a name="M000220"></a> <div class="method-heading"> <a href="Operation.src/M000220.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000220.html');return false;"> <span class="method-name">http_method</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000227" class="method-detail"> <a name="M000227"></a> <div class="method-heading"> <a href="Operation.src/M000227.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000227.html');return false;"> <span class="method-name">path</span><span class="method-args">(args = {})</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000221" class="method-detail"> <a name="M000221"></a> <div class="method-heading"> <a href="Operation.src/M000221.html" target="Code" class="method-signature" onclick="popupCode('Operation.src/M000221.html');return false;"> <span class="method-name">standard?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> </div> </div> <div id="validator-badges"> <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> </div> </body> </html>