Class: Kinney::Image

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Concerns::Models::Image
Defined in:
app/models/kinney/image.rb,
lib/generators/kinney/install/templates/image.rb

Instance Method Summary collapse

Instance Method Details

#external_urlObject

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