Sha256: f3a51324679e957aa90cfdd0efade94ca7f2f453223f838b9257b4b61629ba5d

Contents?: true

Size: 194 Bytes

Versions: 8

Compression:

Stored size: 194 Bytes

Contents

# frozen_string_literal: true

class Ckeditor::Asset
  include Ckeditor::Orm::Mongoid::AssetBase

  delegate :url, :current_path, :content_type, to: :data

  validates :data, presence: true
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
ckeditor-5.1.3 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb
ckeditor-5.1.2 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb
ckeditor-5.1.1 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb
glebtv-ckeditor-4.14.1 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb
ckeditor-5.1.0 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb
glebtv-ckeditor-4.13.1 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb
glebtv-ckeditor-4.13.0 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb
ckeditor-5.0.0 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb