Class: BiolaFrontendToolkit::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/biola_frontend_toolkit/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/biola_frontend_toolkit/configuration.rb', line 13

def initialize
  @app_name = 'App Name'
  @app_version = ''
  @relative_root = '/'
  @app_links = []
  @profile_links = []

  # Google Analytics
  @ga_account = ''
  @ga_domain = 'biola.edu'
  @ga_enabled = false
end

Instance Attribute Details

Returns the value of attribute app_links.



6
7
8
# File 'lib/biola_frontend_toolkit/configuration.rb', line 6

def app_links
  @app_links
end

#app_nameObject

Returns the value of attribute app_name.



3
4
5
# File 'lib/biola_frontend_toolkit/configuration.rb', line 3

def app_name
  @app_name
end

#app_versionObject

Returns the value of attribute app_version.



4
5
6
# File 'lib/biola_frontend_toolkit/configuration.rb', line 4

def app_version
  @app_version
end

#ga_accountObject

Returns the value of attribute ga_account.



9
10
11
# File 'lib/biola_frontend_toolkit/configuration.rb', line 9

def 
  @ga_account
end

#ga_domainObject

Returns the value of attribute ga_domain.



10
11
12
# File 'lib/biola_frontend_toolkit/configuration.rb', line 10

def ga_domain
  @ga_domain
end

#ga_enabledObject

Returns the value of attribute ga_enabled.



11
12
13
# File 'lib/biola_frontend_toolkit/configuration.rb', line 11

def ga_enabled
  @ga_enabled
end

Returns the value of attribute profile_links.



7
8
9
# File 'lib/biola_frontend_toolkit/configuration.rb', line 7

def profile_links
  @profile_links
end

#relative_rootObject

Returns the value of attribute relative_root.



5
6
7
# File 'lib/biola_frontend_toolkit/configuration.rb', line 5

def relative_root
  @relative_root
end

#release_phaseObject

Returns the value of attribute release_phase.



8
9
10
# File 'lib/biola_frontend_toolkit/configuration.rb', line 8

def release_phase
  @release_phase
end