test/dummy/app/models/kinney/image.rb in kinney-0.0.3 vs test/dummy/app/models/kinney/image.rb in kinney-0.1.0
- old
+ new
@@ -1,11 +1,14 @@
-require File.join(Kinney::Engine.config.root, 'app', 'models', 'kinney', 'image')
-
module Kinney
class Image < ActiveRecord::Base
-
+ include Kinney::Concerns::Models::Image
+
def external_url
File.join('http://d.lib.ncsu.edu/collections/catalog/', filename)
+ end
+
+ def method_name
+
end
end
end
\ No newline at end of file