1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Adding delete agent token coverage of api

This commit is contained in:
Daniel Reichert 2013-07-24 10:48:05 -07:00
parent 8de5e6febe
commit 5f7338d77f
2 changed files with 18 additions and 0 deletions

View file

@ -63,6 +63,7 @@ module Fog
request :update_entity
request :update_alarm
request :delete_agent_token
request :delete_check
request :delete_entity

View file

@ -0,0 +1,17 @@
module Fog
module Rackspace
class Monitoring
class Real
def delete_agent_token(token_id)
request(
:expects => [204],
:method => 'DELETE',
:path => "agent_tokens/#{token_id}"
)
end
end
end
end
end