Module: Reviewed::Auth

Defined in:
lib/reviewed-auth.rb,
lib/reviewed-auth/version.rb,
lib/reviewed-auth/login_controller.rb

Defined Under Namespace

Classes: LoginController

Constant Summary collapse

VERSION =
"0.2.2"

Class Method Summary collapse

Class Method Details

.api_host_pathObject



25
26
27
# File 'lib/reviewed-auth.rb', line 25

def api_host_path
  @api_host_path ||= "/"
end

.api_host_path=(x) ⇒ Object



29
30
31
# File 'lib/reviewed-auth.rb', line 29

def api_host_path=(x)
  @api_host_path = x
end


17
18
19
# File 'lib/reviewed-auth.rb', line 17

def drop_cookie
  @drop_cookie.nil? ? false : @drop_cookie
end

.drop_cookie=(x) ⇒ Object



21
22
23
# File 'lib/reviewed-auth.rb', line 21

def drop_cookie=(x)
  @drop_cookie = x
end

.return_urlObject



9
10
11
# File 'lib/reviewed-auth.rb', line 9

def return_url
  @return_url ||= "/"
end

.return_url=(x) ⇒ Object



13
14
15
# File 'lib/reviewed-auth.rb', line 13

def return_url=(x)
  @return_url = x
end