mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
24 lines
421 B
Ruby
24 lines
421 B
Ruby
|
require 'fog/core/colletion'
|
||
|
require 'fog/storm_on_demand/models/dns/reverse'
|
||
|
|
||
|
module Fog
|
||
|
module DNS
|
||
|
class StormOnDemand
|
||
|
|
||
|
class Reverses < Fog::Collection
|
||
|
model Fog::DNS::StormOnDemand::Reverse
|
||
|
|
||
|
def destroy(options)
|
||
|
service.delete_reverse(options).body
|
||
|
end
|
||
|
|
||
|
def update(options)
|
||
|
service.update_reverse(options).body
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|