README.md in azure-armrest-0.2.10 vs README.md in azure-armrest-0.3.0
- old
+ new
@@ -16,11 +16,11 @@
# Create a configuration object. All service objects will then use the
# information you set here.
#
# A token will be retrieved based on the information you provided
-conf = Azure::Armrest::ArmrestService.configure(
+conf = Azure::Armrest::Configuration.new(
:client_id => 'XXXXX',
:client_key => 'YYYYY',
:tenant_id => 'ZZZZZ',
:subscription_id => 'ABCDEFG'
)
@@ -38,11 +38,12 @@
end
```
## Subscriptions
-If you do not provide a subscription ID in your configuration object, then the
-first subscription ID returned from a REST call will be used.
+As of version 0.3.0 you must provide a subscription ID. In previous versions,
+if you did not provide a subscription ID in your configuration object, then the
+first subscription ID returned from a REST call would be used.
## Notes
Currently only the client credentials strategy is supported. Support for other
strategies may be added over time.