Class: AbstractFileBlock

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/abstract_file_block.rb

Direct Known Subclasses

FileBlock, ImageBlock

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.publishable?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'app/models/abstract_file_block.rb', line 13

def self.publishable?
  true
end

Instance Method Details

#pathObject



9
10
11
# File 'app/models/abstract_file_block.rb', line 9

def path
  attachment_file_path
end