From ca1fd5b0b35f8c8da433cea9d99dc3393b10618c Mon Sep 17 00:00:00 2001 From: Benoist Claassen Date: Fri, 29 Dec 2017 12:08:01 +0100 Subject: [PATCH] update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b560eea..f73636d 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,9 @@ require 'mollie-api-ruby' Create an initializer and add the following line: ```ruby -Mollie::Client.instance.api_key = '' +Mollie::Client.configure do |config| + config.api_key = '' +end ``` You can also include the API Key in each request you make, for instance if you are using the Connect API