Class: AdminSuite::Auth::HttpBasic::Actor

Inherits:
Struct
  • Object
show all
Defined in:
lib/admin_suite/auth/http_basic.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#username ⇒ Object

Returns the value of attribute username

Returns:

  • (Object) —

    the current value of username



15
16
17
# File 'lib/admin_suite/auth/http_basic.rb', line 15

def username
  @username
end

Instance Method Details

#name ⇒ Object



16
# File 'lib/admin_suite/auth/http_basic.rb', line 16

def name = username

#to_s ⇒ Object



17
# File 'lib/admin_suite/auth/http_basic.rb', line 17

def to_s = "http-basic:#{username}"