Pass Parameters from Grape::API to Serializer
<p>I am getting a parameter e.g: member_id in Grape::API like</p>

<pre><code>   desc 'Return Events'
         params do
             requires :member_id, type: Integer, desc: 'Member'
         end
         get 'all' do
              #some code
         end
     end
</code></pre>

<p>and I want to pass it to <code>ActiveModel::Serializer</code> so that I can perform some functionality.</p>

<p>Is there any way that I can pass it to <code>ActiveModel::Serializer</code>?</p>