# File lib/fog/sakuracloud/requests/volume/register_note_to_disk.rb, line 7 def register_note_to_disk( disk_id, notes ) body = { "Notes" => notes.map {|note| { "ID" => note }} } request( :headers => { 'Authorization' => "Basic #{@auth_encode}" }, :expects => [200], :method => 'PUT', :path => "#{Fog::SakuraCloud.build_endpoint(@api_zone)}/disk/#{disk_id.to_s}/config", :body => Fog::JSON.encode(body) ) end