lib/fog/openstack/volume.rb in fog-maestrodev-1.15.0.20130927082724 vs lib/fog/openstack/volume.rb in fog-maestrodev-1.18.0.20131111203459

- old
+ new

@@ -14,24 +14,29 @@ model_path 'fog/openstack/models/volume' model :volume collection :volumes + model :volume_type + collection :volume_types request_path 'fog/openstack/requests/volume' # Volume request :list_volumes request :create_volume request :get_volume_details request :delete_volume + request :list_volume_types + request :get_volume_type_details + request :create_volume_snapshot request :list_snapshots request :get_snapshot_details request :delete_snapshot - + request :update_quota request :get_quota request :get_quota_defaults request :set_tenant @@ -155,10 +160,9 @@ :headers => { 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'X-Auth-Token' => @auth_token }.merge!(params[:headers] || {}), - :host => @host, :path => "#{@path}/#{params[:path]}"#, })) rescue Excon::Errors::Unauthorized => error if error.response.body != 'Bad username or password' # token expiration @openstack_must_reauthenticate = true