Class: ActionFramework::Settings
- Inherits:
-
Object
- Object
- ActionFramework::Settings
- Defined in:
- lib/actionframework/settings.rb
Instance Attribute Summary collapse
-
#cookie_secret ⇒ Object
Returns the value of attribute cookie_secret.
-
#errorhandler ⇒ Object
Returns the value of attribute errorhandler.
-
#port ⇒ Object
Returns the value of attribute port.
-
#server ⇒ Object
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize ⇒ Settings
Returns a new instance of Settings.
8 9 10 11 |
# File 'lib/actionframework/settings.rb', line 8 def initialize @port = 3000 @server = "thin" end |
Instance Attribute Details
#cookie_secret ⇒ Object
Returns the value of attribute cookie_secret.
6 7 8 |
# File 'lib/actionframework/settings.rb', line 6 def @cookie_secret end |
#errorhandler ⇒ Object
Returns the value of attribute errorhandler.
5 6 7 |
# File 'lib/actionframework/settings.rb', line 5 def errorhandler @errorhandler end |
#port ⇒ Object
Returns the value of attribute port.
4 5 6 |
# File 'lib/actionframework/settings.rb', line 4 def port @port end |
#server ⇒ Object
Returns the value of attribute server.
3 4 5 |
# File 'lib/actionframework/settings.rb', line 3 def server @server end |