I'm looking at using the Gibbon gem for Mailchimp integration and I would like to add my API details in config/initializers/gibbon.rb
The gem takes in a few things: API KEY, timeout, etc..
I wanted to know the best way to extract this from my controller to an initalizer.
# config/initializer/gibbon.rb
Gibbon.api_key = "my-api-key"
Gibbon.timeout = 15
Gibbon.throws_expection = false
The above fails with an error: gibbon.rb:38:in 'merge': can't convert false into Hash (TypeError)
I wanted to know what is the best practise for this in Rails 3.2.x