# File lib/fog/sakuracloud/requests/script/create_note.rb, line 7 def create_note(options) body = { "Note" => { "Name" => options[:name], "Content" => options[:content] } } request( :headers => { 'Authorization' => "Basic #{@auth_encode}" }, :expects => 201, :method => 'POST', :path => "#{Fog::SakuraCloud.build_endpoint(@api_zone)}/note", :body => Fog::JSON.encode(body) ) end