Module: Ckeditor::Backend::ActiveStorage::InstanceMethods

Defined in:
lib/ckeditor/backend/active_storage.rb

Instance Method Summary collapse

Instance Method Details

#content_typeObject



37
38
39
# File 'lib/ckeditor/backend/active_storage.rb', line 37

def content_type
  self.storage_data.content_type
end

#content_type=(_content_type) ⇒ Object



40
41
42
# File 'lib/ckeditor/backend/active_storage.rb', line 40

def content_type=(_content_type)
  self.storage_data.content_type = _content_type
end

#pathObject



30
31
32
# File 'lib/ckeditor/backend/active_storage.rb', line 30

def path
  rails_blob_path(self.storage_data, only_path: true)
end

#stylesObject



34
35
# File 'lib/ckeditor/backend/active_storage.rb', line 34

def styles
end

#urlObject



26
27
28
# File 'lib/ckeditor/backend/active_storage.rb', line 26

def url
  rails_blob_path(self.storage_data, only_path: true)
end