Class: Fog::DNS::Rage4::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/rage4/requests/dns/list_domains.rb

Instance Method Summary collapse

Instance Method Details

#list_domainsObject



30
31
32
33
34
35
# File 'lib/fog/rage4/requests/dns/list_domains.rb', line 30

def list_domains
  response = Excon::Response.new
  response.status = 200
  response.body = self.data[:domains]
  response
end