Alex
Alex

Reputation: 6475

rails - setting up linkedin gem

bit of a silly question but how do I use the linkedin gem(https://github.com/pengwynn/linkedin)

I have installed the gem and understand about getting the actual profile data but the bit in the middle confuses me.

Where should the api key code block go ? should I be creating a seperate .rb file or should I call it at the top of the controller ?

Thanks, Alex

Upvotes: 1

Views: 897

Answers (1)

rwilliams
rwilliams

Reputation: 21497

The example linked in the readme shows them creating a separate controller to handle the authentication.

Check out the example here

Upvotes: 2

Related Questions