Module: Ckeditor::Orm::Mongoid::AssetBase::InstanceMethods

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

Instance Method Summary collapse

Instance Method Details

#as_json_methodsObject



23
24
25
# File 'lib/ckeditor/orm/mongoid.rb', line 23

def as_json_methods
  [:id, :type] + super
end

#typeObject



19
20
21
# File 'lib/ckeditor/orm/mongoid.rb', line 19

def type
  _type
end