Class: Config
- Inherits:
-
K8::BaseConfig
- Object
- K8::BaseConfig
- Config
- Defined in:
- lib/keight/skeleton/config.rb,
lib/keight/skeleton/config/app.rb,
lib/keight/skeleton/config/app_dev.rb,
lib/keight/skeleton/config/app_stg.rb,
lib/keight/skeleton/config/app_prod.rb,
lib/keight/skeleton/config/app_test.rb
Constant Summary
Constants inherited from K8::BaseConfig
Instance Method Summary collapse
-
#db_host ⇒ Object
database.
-
#google_analytics_code ⇒ Object
add your own configs here.
-
#k8_upload_dir ⇒ Object
Keight.
-
#session_key ⇒ Object
Rack::Session::Cookie.
Methods inherited from K8::BaseConfig
#[], add, each, get, #get_all, has?, #initialize, put, set, validate_values
Constructor Details
This class inherits a constructor from K8::BaseConfig
Instance Method Details
#db_host ⇒ Object
database
8 |
# File 'lib/keight/skeleton/config/app.rb', line 8 add :db_host , 'localhost' , "DB host name" |
#google_analytics_code ⇒ Object
add your own configs here
27 |
# File 'lib/keight/skeleton/config/app.rb', line 27 add :google_analytics_code , nil , "ex: 'UA-XXXXX-X'" |
#k8_upload_dir ⇒ Object
Keight
23 |
# File 'lib/keight/skeleton/config/app.rb', line 23 add :k8_upload_dir , './tmp/upload' , "for uploaded files" |
#session_key ⇒ Object
Rack::Session::Cookie
15 |
# File 'lib/keight/skeleton/config/app.rb', line 15 add :session_key , 'rack.session' , "cookie name" |