Ruby‎ > ‎

NEW GEM (v2) UPDATE GUIDE

The main backwards incompatible change is during configuration of the gem because the new gem (and new API) uses OAuth2. 

The old way:

SimpleWorker.configure do |config|
    config.access_key = 'YOUR ACCESS KEY'
    config.secret_key = 'YOUR SECRET KEY'
end

The new way:

SimpleWorker.configure do |config|
    config.token = 'YOUR TOKEN'
    config.project_id = 'YOUR PROJECT ID'
end

You can find your project_id on the project settings page (click the Settings menu item) and your can find/create your tokens here.



Comments