README.md in yao-0.3.2 vs README.md in yao-0.3.3
- old
+ new
@@ -24,11 +24,11 @@
```ruby
require 'yao'
Yao.configure do
- auth_url "http://keystone.example.local:8080/v2.0/tokens"
+ auth_url "http://keystone.example.local:8080/v2.0"
tenant_name "fooproject"
username "udzura"
password "tonk0tsu-r@men"
# timeout is optional
@@ -45,11 +45,11 @@
If you want to override some of endpoints by service, you can do:
```ruby
Yao.configure do
- auth_url "http://endpoint.example.com:12345"
+ auth_url "http://endpoint.example.com:12345/v2.0"
tenant_name "example"
username "udzura"
password "XXXXXXXX"
endpoints identity: { public: "http://override-endpoint.example.com:35357/v3.0" }
end
@@ -68,10 +68,10 @@
```ruby
# Instead of require-ing 'yao'
require 'yao/is_openstack_client'
OpenStack.configure do
- auth_url "http://keystone.example.local:8080/v2.0/tokens"
+ auth_url "http://keystone.example.local:8080/v2.0"
tenant_name "fooproject"
username "udzura"
password "tonk0tsu-r@men"
end