Sha256: dc7094fb186035a40f521af56621fc2f53aa279ae840f0f4e22ce57de85747e2

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 KB

Contents

<?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>with_oauth (SimpleMapper::HttpOAuthExtension)</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/simple_mapper/default_plugins/oauth.rb, line 41</span>
      <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">with_oauth</span>(<span class="ruby-identifier">controller</span>)
        <span class="ruby-identifier">duped</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
        <span class="ruby-identifier">duped</span>.<span class="ruby-identifier">set_oauth</span>(<span class="ruby-identifier">controller</span>)
        <span class="ruby-keyword kw">yield</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
        <span class="ruby-identifier">duped</span>
      <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simplemapper-0.0.4 doc/classes/SimpleMapper/HttpOAuthExtension.src/M000049.html
simplemapper-0.0.2 doc/classes/SimpleMapper/HttpOAuthExtension.src/M000052.html