Class: Kinney::Image
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Kinney::Image
- Includes:
- Concerns::Models::Image
- Defined in:
- app/models/kinney/image.rb,
lib/generators/kinney/install/templates/image.rb
Instance Method Summary collapse
-
#external_url ⇒ Object
TODO: override this with the URL for how to see the image on an external site.
Instance Method Details
#external_url ⇒ Object
TODO: override this with the URL for how to see the image on an external site
6 7 8 |
# File 'lib/generators/kinney/install/templates/image.rb', line 6 def external_url File.join('http://example.com/', filename) end |