restpack-web 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,7 +57,35 @@ module RestPack
57
57
  #### User:
58
58
 
59
59
  * **is authenticated**: #{is_authenticated?}
60
- }
60
+
61
+ #### Channel:
62
+
63
+ * **id**: #{channel.id}
64
+ * **name**: #{channel.name}
65
+ * **applications**: #{@restpack.channel.applications.map { |a| a.name }}
66
+
67
+ #### Application:
68
+
69
+ * **id**: #{application.id}
70
+ * **name**: #{application.name}
71
+ * **domains**: #{application.domains.map { |a| a.host }}
72
+
73
+ #### Domain:
74
+
75
+ * **id**: #{domain.id}
76
+ * **host**: #{domain.host}
77
+
78
+ #### Configuration:
79
+
80
+ * **keys**: #{configurations.map { |c| c.key }}
81
+
82
+
83
+ #### Authentication:
84
+
85
+ * **logout**: #{logout_url}
86
+ * **twitter oauth**: #{login_url(:twitter)}
87
+ * **google oauth**: #{login_url(:google_oauth2)}
88
+ }
61
89
  end
62
90
  end
63
91
  end
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Web
3
- VERSION = "0.2.6"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: