lib/fog/oraclecloud/requests/compute/get_image.rb in fog-oraclecloud-0.1.12 vs lib/fog/oraclecloud/requests/compute/get_image.rb in fog-oraclecloud-0.1.13

- old
+ new

@@ -1,21 +1,21 @@ -module Fog - module Compute - class OracleCloud - class Real - def get_image(name) - name.sub! "/Compute-#{@identity_domain}/#{@username}/", '' - response = request( - :expects => 200, - :method => 'GET', - :path => "/machineimage/Compute-#{@identity_domain}/#{@username}/#{name}", - :headers => { - 'Content-Type' => 'application/oracle-compute-v3+json', - 'Accept' => 'application/oracle-compute-v3+json' - } - ) - response - end - end - end - end -end +module Fog + module Compute + class OracleCloud + class Real + def get_image(name) + name.sub! "/Compute-#{@identity_domain}/#{@username}/", '' + response = request( + :expects => 200, + :method => 'GET', + :path => "/machineimage/Compute-#{@identity_domain}/#{@username}/#{name}", + :headers => { + 'Content-Type' => 'application/oracle-compute-v3+json', + 'Accept' => 'application/oracle-compute-v3+json' + } + ) + response + end + end + end + end +end