Class: Rack::Authentication::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/authentication/config.rb

Instance Method Summary collapse

Instance Method Details

#adapter(obj = nil) ⇒ Object



6
7
8
# File 'lib/rack/authentication/config.rb', line 6

def adapter(obj=nil)
	@adapter ||= obj
end

#realm(str = nil) ⇒ Object



2
3
4
# File 'lib/rack/authentication/config.rb', line 2

def realm(str=nil)
	@realm ||= str
end