Sha256: 2fe372d5cb234441052c04501b71bf107336fdbf6fcbb27747b0810cf26ff102

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 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>get_project (Todoist)</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 rtodoist.rb, line 43</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_project</span>(<span class="ruby-identifier">project_id</span>)
    <span class="ruby-identifier">base_url</span> = <span class="ruby-value str">&quot;http://todoist.com/API/getProject&quot;</span>
    <span class="ruby-identifier">url</span> = <span class="ruby-node">%&lt;#{base_url}?project_id=#{project_id}&amp;token=#{@token}&gt;</span>
      <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">get_json_data</span>(<span class="ruby-identifier">url</span>)
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtodoist-0.0.2 doc/classes/Todoist.src/M000004.html