title: How could we separate grape api resources into multiple files?
body: <p>Hi I am developing a simple api in ruby using intridea's grape. Let's say we have this:</p>
  
  <pre><code>class API_v1 &lt; Grape::API
    resource :foo do
    end
  
    resource :bar do
    end
  
  end
  </code></pre>
  
  <p>How could I make it so that the declaration for <code>:foo</code> and <code>:bar</code> are in separate files? Basically, I wanted to know if it is possible to have something similar to rails controllers where there are multiple files to organize the code.</p>
  
  <p>I hope someone can give me an insight on how to achieve this.</p>