lib/g5k.rb in cryx-g5k-0.2.9 vs lib/g5k.rb in cryx-g5k-0.2.10
- old
+ new
@@ -15,9 +15,13 @@
else
raise ArgumentError, "The API #{api_name} is not available."
end
end
end
+
+ class Exception < RuntimeError; end
+ class ResourceNotFound < Exception; end
+ class BadRequest < Exception; end
end
if ![].respond_to?(:group_by) || ![].respond_to?(:index_by)
require File.dirname(__FILE__)+"/g5k/enumerable_extensions"
end
\ No newline at end of file