# File lib/fog/dnsimple/requests/dns/create_domain.rb, line 14 def create_domain(name) body = { "domain" => { "name" => name } } request( :body => MultiJson.encode(body), :expects => 201, :method => 'POST', :path => '/domains' ) end