mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
20 lines
371 B
Ruby
20 lines
371 B
Ruby
require 'fog/core/collection'
|
|
require 'fog/storm_on_demand/models/dns/domain'
|
|
|
|
module Fog
|
|
module DNS
|
|
class StormOnDemand
|
|
|
|
class Domains < Fog::Collection
|
|
model Fog::DNS::StormOnDemand::Domain
|
|
|
|
def all(options={})
|
|
domains = service.list_domains(options).body['items']
|
|
load(domains)
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|