lib/ddr/models/licenses/license.rb in ddr-models-2.4.11 vs lib/ddr/models/licenses/license.rb in ddr-models-2.4.12
- old
+ new
@@ -15,9 +15,13 @@
end
rescue ActiveResource::ResourceNotFound => e
raise Ddr::Models::NotFoundError, e
end
+ def self.keys
+ all.map(&:url)
+ end
+
def to_s
title
end
end