Module: Ckeditor::Backend::ActiveStorage::InstanceMethods
- Defined in:
- lib/ckeditor/backend/active_storage.rb
Instance Method Summary collapse
- #content_type ⇒ Object
- #content_type=(_content_type) ⇒ Object
- #path ⇒ Object
- #styles ⇒ Object
- #url ⇒ Object
Instance Method Details
#content_type ⇒ Object
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 |
#path ⇒ Object
30 31 32 |
# File 'lib/ckeditor/backend/active_storage.rb', line 30 def path rails_blob_path(self.storage_data, only_path: true) end |
#styles ⇒ Object
34 35 |
# File 'lib/ckeditor/backend/active_storage.rb', line 34 def styles end |
#url ⇒ Object
26 27 28 |
# File 'lib/ckeditor/backend/active_storage.rb', line 26 def url rails_blob_path(self.storage_data, only_path: true) end |