Undefined method using paypal-ipn gem (can't call method from Module)
===

<p>I want to use this gem to get PayPal email and get token.
<p>In my gem file:

        gem 'paypal-ipn', :require => 'paypal'

<p>In my views:

       <%= link_to "Permission", set_paypal_permissions_url(root_path, required_permissions = {}) %>

I do it as mentioned in documentation.
<p>And tried to add in application controller or pages controller line:

        include Paypal::Permissions

Also, tried to create Model Permissions and add this line.
<p>Constantly get error:

        undefined method `set_paypal_permissions_url' for Permissions:Class

In line of using this method.
<p>Did anyone use it and can help me ?
       