lib/fog/identity/openstack/v2/requests/get_tenant.rb in fog-openstack-0.1.25 vs lib/fog/identity/openstack/v2/requests/get_tenant.rb in fog-openstack-0.1.26
- old
+ new
@@ -8,11 +8,11 @@
:expects => [200, 204],
:method => 'GET',
:path => "tenants/#{id}"
)
end
- end # class Real
+ end
class Mock
def get_tenant(id)
response = Excon::Response.new
response.status = [200, 204][rand(2)]
@@ -23,11 +23,11 @@
'enabled' => true,
'name' => 'admin'
}
}
response
- end # def list_tenants
- end # class Mock
- end # class V2
- end # class OpenStack
- end # module Identity
-end # module Fog
+ end
+ end
+ end
+ end
+ end
+end