restpack-web 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/restpack-web/context.rb +10 -0
- data/lib/restpack-web/version.rb +1 -1
- metadata +1 -1
data/lib/restpack-web/context.rb
CHANGED
@@ -49,6 +49,16 @@ module RestPack
|
|
49
49
|
next_url ||= "http://#{home_domain}/"
|
50
50
|
"http://#{auth_domain}/auth/#{provider}?next=#{next_url}"
|
51
51
|
end
|
52
|
+
|
53
|
+
def debug_info
|
54
|
+
%{
|
55
|
+
### RestPack Context:
|
56
|
+
|
57
|
+
#### User:
|
58
|
+
|
59
|
+
* **is authenticated**: #{is_authenticated?}
|
60
|
+
}
|
61
|
+
end
|
52
62
|
end
|
53
63
|
end
|
54
64
|
end
|
data/lib/restpack-web/version.rb
CHANGED