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