Class: ActionFramework::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/actionframework/settings.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSettings

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

Returns the value of attribute cookie_secret.



6
7
8
# File 'lib/actionframework/settings.rb', line 6

def cookie_secret
  @cookie_secret
end

#errorhandlerObject

Returns the value of attribute errorhandler.



5
6
7
# File 'lib/actionframework/settings.rb', line 5

def errorhandler
  @errorhandler
end

#portObject

Returns the value of attribute port.



4
5
6
# File 'lib/actionframework/settings.rb', line 4

def port
  @port
end

#serverObject

Returns the value of attribute server.



3
4
5
# File 'lib/actionframework/settings.rb', line 3

def server
  @server
end