# File lib/fog/dns/requests/dnsimple/create_record.rb, line 29 def create_record(domain, name, type, content, options = {}) body = { "record" => { "name" => name, "record_type" => type, "content" => content } } body["record"].merge!(options) request( :body => body.to_json, :expects => 201, :method => 'POST', :path => "/domains/#{domain}/records" ) end