mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Add method for destroy.
This commit is contained in:
parent
98c9283de2
commit
98413b3e87
1 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,12 @@ module Fog
|
||||||
attributes[:body] = new_body
|
attributes[:body] = new_body
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def destroy
|
||||||
|
requires :shared_directory, :key
|
||||||
|
# delete is not allowed
|
||||||
|
false
|
||||||
|
end
|
||||||
|
|
||||||
def shared_directory
|
def shared_directory
|
||||||
@shared_directory
|
@shared_directory
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue