="hljs-string">"I'm John from New York"</span></code></pre></div></div><div class="code"><div class="wrapper">  <span class="hljs-attribute">findBy</span>: <span class="hljs-function"><span class="hljs-params">(params)</span> -&gt;</span>
    _this = @

    <span class="hljs-property">@where</span>(params).<span class="hljs-keyword">then</span> (resp) -&gt;
      _this.promise _.first(_.values(resp))

  <span class="hljs-attribute">create</span>: <span class="hljs-function"><span class="hljs-params">(params