Sha256: 271b2b3dd7583976bcf311ebd536f6fc1a3b50ebdd0b84f20c526c8bdf652d5b

Contents?: true

Size: 394 Bytes

Versions: 8

Compression:

Stored size: 394 Bytes

Contents

module BootstrapFeedbacker
  class Settings
    attr_accessor :email_to, :email_prefix, :user_name_method, :user_class
    
    def initialize
      self.email_to           = ''
      self.email_prefix       = '[FEEDBACKER]'
      self.user_class         = "User"
      self.user_name_method   = :name
    end
    
    def update
      yield self
    end
  end
  
  SETTINGS = Settings.new
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bootstrap_feedbacker-0.4.3 lib/bootstrap_feedbacker/settings.rb
bootstrap_feedbacker-0.4.2 lib/bootstrap_feedbacker/settings.rb
bootstrap_feedbacker-0.4.1 lib/bootstrap_feedbacker/settings.rb
bootstrap_feedbacker-0.4.0 lib/bootstrap_feedbacker/settings.rb
bootstrap_feedbacker-0.3.5 lib/bootstrap_feedbacker/settings.rb
bootstrap_feedbacker-0.3.4 lib/bootstrap_feedbacker/settings.rb
bootstrap_feedbacker-0.3.3 lib/bootstrap_feedbacker/settings.rb
bootstrap_feedbacker-0.3.0 lib/bootstrap_feedbacker/settings.rb