diff --git a/lib/oneview-sdk/image-streamer/resource/api300/plan_scripts.rb b/lib/oneview-sdk/image-streamer/resource/api300/plan_scripts.rb
index <HASH>..<HASH> 100644
--- a/lib/oneview-sdk/image-streamer/resource/api300/plan_scripts.rb
+++ b/lib/oneview-sdk/image-streamer/resource/api300/plan_scripts.rb
@@ -31,17 +31,9 @@ module OneviewSDK
         # Retrieves the modified contents of the selected Plan Script as per the selected attributes.
         # @return The script differences of the selected Plan Script
         def retrieve_differences
-          response = @client.rest_post("#{BASE_URI}/differences/#{extract_id_from_uri}")
+          response = @client.rest_post("#{BASE_URI}/differences/#{@data['uri'].split('/').last}")
           @client.response_handler(response)
         end
-
-        private
-
-        # Extracts the id of the uri.
-        # @return The id of the plan script
-        def extract_id_from_uri
-          @data['uri'].split('/').last
-        end
       end
     end
   end
Adjusting the extraction of the id from uri