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
- .api_host_path ⇒ Object
- .api_host_path=(x) ⇒ Object
- .drop_cookie ⇒ Object
- .drop_cookie=(x) ⇒ Object
- .return_url ⇒ Object
- .return_url=(x) ⇒ Object
Class Method Details
.api_host_path ⇒ Object
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 |
.drop_cookie ⇒ Object
17 18 19 |
# File 'lib/reviewed-auth.rb', line 17 def .nil? ? false : end |
.drop_cookie=(x) ⇒ Object
21 22 23 |
# File 'lib/reviewed-auth.rb', line 21 def (x) = x end |
.return_url ⇒ Object
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 |