restpack-web 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/restpack-web/context.rb +9 -9
- data/lib/restpack-web/version.rb +1 -1
- metadata +1 -1
data/lib/restpack-web/context.rb
CHANGED
@@ -60,24 +60,24 @@ module RestPack
|
|
60
60
|
|
61
61
|
#### Channel:
|
62
62
|
|
63
|
-
* **id**: #{channel.id}
|
64
|
-
* **name**: #{channel.name}
|
65
|
-
* **applications**: #{@
|
63
|
+
* **id**: #{@channel.id}
|
64
|
+
* **name**: #{@channel.name}
|
65
|
+
* **applications**: #{@channel.applications.map { |a| a.name }}
|
66
66
|
|
67
67
|
#### Application:
|
68
68
|
|
69
|
-
* **id**: #{application.id}
|
70
|
-
* **name**: #{application.name}
|
71
|
-
* **domains**: #{application.domains.map { |a| a.host }}
|
69
|
+
* **id**: #{@application.id}
|
70
|
+
* **name**: #{@application.name}
|
71
|
+
* **domains**: #{@application.domains.map { |a| a.host }}
|
72
72
|
|
73
73
|
#### Domain:
|
74
74
|
|
75
|
-
* **id**: #{domain.id}
|
76
|
-
* **host**: #{domain.host}
|
75
|
+
* **id**: #{@domain.id}
|
76
|
+
* **host**: #{@domain.host}
|
77
77
|
|
78
78
|
#### Configuration:
|
79
79
|
|
80
|
-
* **keys**: #{configurations.map { |c| c.key }}
|
80
|
+
* **keys**: #{@configurations.map { |c| c.key }}
|
81
81
|
|
82
82
|
|
83
83
|
#### Authentication:
|
data/lib/restpack-web/version.rb
CHANGED