Class: BriskBills::Configuration

Inherits:
Rails::Configuration
  • Object
show all
Defined in:
lib/brisk-bills/initializer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



11
12
13
14
15
16
17
18
# File 'lib/brisk-bills/initializer.rb', line 11

def initialize
  self.view_paths = []
  super

  # Active Record defaults
  self.active_record.default_timezone = :utc
  self.active_record.timestamped_migrations = false
end

Instance Attribute Details

#authentication_saltObject

Returns the value of attribute authentication_salt.



9
10
11
# File 'lib/brisk-bills/initializer.rb', line 9

def authentication_salt
  @authentication_salt
end

#view_pathsObject

Returns the value of attribute view_paths.



8
9
10
# File 'lib/brisk-bills/initializer.rb', line 8

def view_paths
  @view_paths
end