API keys must be configured in the gem setup. You can do this anywhere in your application before you make API calls using the gem.
Ravelry.configure do |config| config.access_key = '' config.secret_key = '' config.personal_key = '' end
config.access_key- your Ravelry access key
config.secret_key- your Ravelry secret key
config.personal_key- wait for it! Your Ravelry personal key; primarily used for OAuth (not yet implemented in the gem)
The keys are available to you throughout your application as:
Ravelry.configuration.access_key Ravelry.configuration.secret_key Ravelry.configuration.personal_key