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



27
28
29
30
31
32
# File 'lib/fog/rage4/requests/dns/list_domains.rb', line 27

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