Class: Whenever::WebConfig
- Inherits:
-
Object
- Object
- Whenever::WebConfig
- Defined in:
- app/models/whenever/web_config.rb
Instance Attribute Summary collapse
-
#layout ⇒ Object
Returns the value of attribute layout.
-
#parent_controller ⇒ Object
Returns the value of attribute parent_controller.
-
#schedule_file ⇒ Object
Returns the value of attribute schedule_file.
Instance Method Summary collapse
-
#initialize ⇒ WebConfig
constructor
A new instance of WebConfig.
Constructor Details
#initialize ⇒ WebConfig
Returns a new instance of WebConfig.
5 6 7 8 9 |
# File 'app/models/whenever/web_config.rb', line 5 def initialize @schedule_file = 'config/schedule.rb' @parent_controller = 'Whenever::WebController' @layout = 'admin' end |
Instance Attribute Details
#layout ⇒ Object
Returns the value of attribute layout.
3 4 5 |
# File 'app/models/whenever/web_config.rb', line 3 def layout @layout end |
#parent_controller ⇒ Object
Returns the value of attribute parent_controller.
3 4 5 |
# File 'app/models/whenever/web_config.rb', line 3 def parent_controller @parent_controller end |
#schedule_file ⇒ Object
Returns the value of attribute schedule_file.
3 4 5 |
# File 'app/models/whenever/web_config.rb', line 3 def schedule_file @schedule_file end |