Module: Ckeditor::Orm::Mongoid::AssetBase::ClassMethods

Defined in:
lib/ckeditor/orm/mongoid.rb

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



29
30
31
32
33
34
35
36
# File 'lib/ckeditor/orm/mongoid.rb', line 29

def self.extended(base)
  base.class_eval do
    field :data_content_type, type: String
    field :data_file_size, type: Integer
    field :width, type: Integer
    field :height, type: Integer
  end
end