Sha256: 23a82515e855998d1e87c4eef756c82924e827d59ed7f43c4665495ef1bdec8c
Contents?: true
Size: 589 Bytes
Versions: 2
Compression:
Stored size: 589 Bytes
Contents
# frozen_string_literal: true module BootstrapFeedbacker class Settings attr_accessor :email_to, :email_prefix, :modal_content_id, :modal_id, :user_name_method, :user_class def initialize self.email_to = '' self.email_prefix = '[FEEDBACKER]' self.modal_content_id = 'bootstrap_feedbacker_remark_modal_content' self.modal_id = 'bootstrap_feedbacker_remark_modal' self.user_class = 'User' self.user_name_method = :name end def update yield self end end SETTINGS = Settings.new end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap_feedbacker-0.6.0 | lib/bootstrap_feedbacker/settings.rb |
bootstrap_feedbacker-0.5.0 | lib/bootstrap_feedbacker/settings.rb |