Class: BiolaFrontendToolkit::Configuration
- Inherits:
-
Object
- Object
- BiolaFrontendToolkit::Configuration
- Defined in:
- lib/biola_frontend_toolkit/configuration.rb
Instance Attribute Summary collapse
-
#app_links ⇒ Object
Returns the value of attribute app_links.
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#app_version ⇒ Object
Returns the value of attribute app_version.
-
#ga_account ⇒ Object
Returns the value of attribute ga_account.
-
#ga_domain ⇒ Object
Returns the value of attribute ga_domain.
-
#ga_enabled ⇒ Object
Returns the value of attribute ga_enabled.
-
#profile_links ⇒ Object
Returns the value of attribute profile_links.
-
#relative_root ⇒ Object
Returns the value of attribute relative_root.
-
#release_phase ⇒ Object
Returns the value of attribute release_phase.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#app_links ⇒ Object
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_name ⇒ Object
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_version ⇒ Object
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_account ⇒ Object
Returns the value of attribute ga_account.
9 10 11 |
# File 'lib/biola_frontend_toolkit/configuration.rb', line 9 def ga_account @ga_account end |
#ga_domain ⇒ Object
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_enabled ⇒ Object
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 |
#profile_links ⇒ Object
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_root ⇒ Object
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_phase ⇒ Object
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 |