cloudpassage 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloudpassage/servers.rb +2 -2
- data/lib/cloudpassage/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e92cb4059f477571d964f49fd2735f21fa121be
|
4
|
+
data.tar.gz: 1c8bc29d6f6066131997878759fb8f59dc2051dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac02633823a20bf061125ac4f417f450057ca385552a7d2815f80613f46ea8331c7ecb913ff7ad28bc07ab31531a846be9f23b3fecbe9366fe98d865a89f5553
|
7
|
+
data.tar.gz: fe1098d718b49f46534bb8d9ce88ab1caa8b0200ad47255130a692b0aa9da3aea46bdeac2afdd1431115bbe899a5ed9601f052b2ec0b9ab8c09564c150e6b31d
|
data/lib/cloudpassage/servers.rb
CHANGED
@@ -93,12 +93,12 @@ module Cloudpassage
|
|
93
93
|
|
94
94
|
def enable_account(username)
|
95
95
|
payload = {:account => {:active=>true}}
|
96
|
-
@server.commands.get(
|
96
|
+
@server.commands.get(JSON.parse(@base_resource[username].put(payload.to_json, headers))['command']['id'])
|
97
97
|
end
|
98
98
|
|
99
99
|
def disable_account(username)
|
100
100
|
payload = {:account => {:active=>false}}
|
101
|
-
@server.commands.get(
|
101
|
+
@server.commands.get(JSON.parse(@base_resource[username].put(payload.to_json, headers))['command']['id'])
|
102
102
|
end
|
103
103
|
|
104
104
|
def reset(username, opts = {})
|
data/lib/cloudpassage/version.rb
CHANGED