Class: Ckeditor::Asset

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Backend::ActiveStorage, Backend::Dragonfly, Backend::Paperclip, Backend::Shrine, Orm::ActiveRecord::AssetBase, Orm::Mongoid::AssetBase, Mongoid::Paperclip
Defined in:
lib/generators/ckeditor/templates/mongoid/shrine/ckeditor/asset.rb,
lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/asset.rb,
lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb,
lib/generators/ckeditor/templates/active_record/shrine/ckeditor/asset.rb,
lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/asset.rb,
lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/asset.rb,
lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/asset.rb,
lib/generators/ckeditor/templates/active_record/active_storage/ckeditor/asset.rb

Direct Known Subclasses

AttachmentFile, Picture

Constant Summary

Constants included from Backend::Dragonfly

Backend::Dragonfly::FORMATS

Instance Attribute Summary collapse

Method Summary

Methods included from Backend::ActiveStorage

included

Methods included from Backend::Dragonfly

included

Methods included from Orm::ActiveRecord::AssetBase

included

Methods included from Backend::Paperclip

included

Methods included from Backend::Shrine

included

Methods included from Orm::Mongoid::AssetBase

included

Instance Attribute Details

#dataObject

Returns the value of attribute data.



7
8
9
# File 'lib/generators/ckeditor/templates/active_record/active_storage/ckeditor/asset.rb', line 7

def data
  @data
end