# File lib/right_slicehost.rb, line 411 def create_record(params={}) params[:active] = (params[:active] ? 'Y' : 'N') unless params[:active].nil? # POST /records.xml req = generate_request(Net::HTTP::Post, build_path(:records)) req[:request].body = build_xml(:record, params) request_info(req, RecordsParser.new(:logger => @logger)).first end