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