module HeraCms
Constants
- VERSION
Attributes
image_upload[RW]
attr_accessor :s3_bucket
upload_service[RW]
attr_accessor :s3_bucket
Public Class Methods
active_storage?()
click to toggle source
# File lib/hera_cms.rb, line 25 def self.active_storage? self.image_upload && ["active_storage", :active_storage].include?(self.upload_service&.downcase) end
setup() { |self| ... }
click to toggle source
Yield self on setup for nice config blocks
# File lib/hera_cms.rb, line 21 def self.setup yield self end