GETTING_STARTED.md in recurly-4.12.0 vs GETTING_STARTED.md in recurly-4.13.0

- old
+ new

@@ -3,11 +3,11 @@ # Installing In your Gemfile, add `recurly` as a dependency. ```ruby -gem 'recurly', '~> 4.12' +gem 'recurly', '~> 4.13' ``` > *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions. # Creating a client @@ -17,9 +17,17 @@ which can be obtained on the [API Credentials Page](https://app.recurly.com/go/integrations/api_keys). ```ruby API_KEY = '83749879bbde395b5fe0cc1a5abf8e5' client = Recurly::Client.new(api_key: API_KEY) +sub = client.get_subscription(subscription_id: 'abcd123456') +``` + +To access Recurly API in Europe, you will need to specify the EU Region in the argument region. + +```ruby +API_KEY = '83749879bbde395b5fe0cc1a5abf8e5' +client = Recurly::Client.new(api_key: API_KEY, region: :eu) sub = client.get_subscription(subscription_id: 'abcd123456') ``` You can also pass the initializer a block. This will give you a client scoped for just that block: