mardi 8 septembre 2015

best place to configure a global setting for a gem Rails

I am using the Google Api Client gem in a rails application.

I need to set the following configuration globally:

Google::Apis::RequestOptions.default.retries = 5

What is the best practice/location for doing that.

Aucun commentaire:

Enregistrer un commentaire