docs/identity.md in fog-proxmox-0.6.0 vs docs/identity.md in fog-proxmox-0.7.0
- old
+ new
@@ -17,11 +17,11 @@
```
## Create identity service
```ruby
-identity = Fog::Identity::Proxmox.new(
+identity = Fog::Proxmox::Identity.new(
pve_username: PVE_USERNAME, # your user name
pve_password: PVE_PASSWORD, # your password
pve_url: PVE_URL, # your server url
connection_options: {} # connection options
)
@@ -96,11 +96,11 @@
```ruby
identity.users.all
```
-This returns a collection of `Fog::Identity::Proxmox::User` models:
+This returns a collection of `Fog::Proxmox::Identity::User` models:
Create a user:
```ruby
identity.users.create({
@@ -148,11 +148,11 @@
```ruby
identity.groups.all
```
-This returns a collection of `Fog::Identity::Proxmox::Group` models:
+This returns a collection of `Fog::Proxmox::Identity::Group` models:
Create a group:
```ruby
identity.groups.create({
@@ -189,11 +189,11 @@
```ruby
identity.domains.all
```
-This returns a collection of `Fog::Identity::Proxmox::Domain` models:
+This returns a collection of `Fog::Proxmox::Identity::Domain` models:
Create a LDAP domain:
```ruby
identity.domains.create({
@@ -238,11 +238,11 @@
```ruby
identity.roles.all
```
-This returns a collection of `Fog::Identity::Proxmox::Role` models:
+This returns a collection of `Fog::Proxmox::Identity::Role` models:
Create a new role:
```ruby
identity.roles.create({ roleid: 'PVETestAuditor' })
@@ -279,10 +279,10 @@
```ruby
identity.permissions.all
```
-This returns a collection of `Fog::Identity::Proxmox::Permission` models:
+This returns a collection of `Fog::Proxmox::Identity::Permission` models:
Add a new permission (manage users) to a user:
```ruby
identity.permissions.add({
\ No newline at end of file