vermillion-client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.hound.yml +2 -0
  4. data/.rubocop.yml +320 -0
  5. data/Gemfile +3 -0
  6. data/Gemfile.lock +26 -0
  7. data/README.md +55 -0
  8. data/Rakefile +10 -0
  9. data/bin/setup +7 -0
  10. data/bin/vermillion +16 -0
  11. data/doc/ChangeBranchTest.html +240 -0
  12. data/doc/ConfigurationTest.html +277 -0
  13. data/doc/CreateTest.html +240 -0
  14. data/doc/Gemfile.html +145 -0
  15. data/doc/Gemfile_lock.html +173 -0
  16. data/doc/README_md.html +216 -0
  17. data/doc/Rakefile.html +151 -0
  18. data/doc/UpdateTest.html +280 -0
  19. data/doc/Vermillion.html +272 -0
  20. data/doc/Vermillion/Cfg.html +362 -0
  21. data/doc/Vermillion/Controller.html +185 -0
  22. data/doc/Vermillion/Controller/Base.html +503 -0
  23. data/doc/Vermillion/Controller/Change.html +301 -0
  24. data/doc/Vermillion/Controller/Create.html +301 -0
  25. data/doc/Vermillion/Controller/Firstrun.html +256 -0
  26. data/doc/Vermillion/Controller/Status.html +308 -0
  27. data/doc/Vermillion/Controller/Update.html +326 -0
  28. data/doc/Vermillion/Helper.html +252 -0
  29. data/doc/Vermillion/Helper/ApiCommunication.html +307 -0
  30. data/doc/Vermillion/Helper/Endpoint.html +506 -0
  31. data/doc/Vermillion/Helper/Formatting.html +250 -0
  32. data/doc/Vermillion/Helper/Network.html +304 -0
  33. data/doc/Vermillion/Helper/Results.html +341 -0
  34. data/doc/Vermillion/Helper/Time.html +295 -0
  35. data/doc/Vermillion/Request.html +332 -0
  36. data/doc/Vermillion/Router.html +351 -0
  37. data/doc/Vermillion/Test.html +183 -0
  38. data/doc/Vermillion/Test/Base.html +260 -0
  39. data/doc/Vermillion/Utils.html +247 -0
  40. data/doc/bin/setup.html +147 -0
  41. data/doc/created.rid +33 -0
  42. data/doc/images/add.png +0 -0
  43. data/doc/images/arrow_up.png +0 -0
  44. data/doc/images/brick.png +0 -0
  45. data/doc/images/brick_link.png +0 -0
  46. data/doc/images/bug.png +0 -0
  47. data/doc/images/bullet_black.png +0 -0
  48. data/doc/images/bullet_toggle_minus.png +0 -0
  49. data/doc/images/bullet_toggle_plus.png +0 -0
  50. data/doc/images/date.png +0 -0
  51. data/doc/images/delete.png +0 -0
  52. data/doc/images/find.png +0 -0
  53. data/doc/images/loadingAnimation.gif +0 -0
  54. data/doc/images/macFFBgHack.png +0 -0
  55. data/doc/images/package.png +0 -0
  56. data/doc/images/page_green.png +0 -0
  57. data/doc/images/page_white_text.png +0 -0
  58. data/doc/images/page_white_width.png +0 -0
  59. data/doc/images/plugin.png +0 -0
  60. data/doc/images/ruby.png +0 -0
  61. data/doc/images/tag_blue.png +0 -0
  62. data/doc/images/tag_green.png +0 -0
  63. data/doc/images/transparent.png +0 -0
  64. data/doc/images/wrench.png +0 -0
  65. data/doc/images/wrench_orange.png +0 -0
  66. data/doc/images/zoom.png +0 -0
  67. data/doc/index.html +138 -0
  68. data/doc/js/darkfish.js +155 -0
  69. data/doc/js/jquery.js +4 -0
  70. data/doc/js/navigation.js +142 -0
  71. data/doc/js/search.js +94 -0
  72. data/doc/js/search_index.js +1 -0
  73. data/doc/js/searcher.js +228 -0
  74. data/doc/rdoc.css +595 -0
  75. data/doc/table_of_contents.html +255 -0
  76. data/doc/vermillion-client_gemspec.html +166 -0
  77. data/lib/client.rb +35 -0
  78. data/lib/client/config.rb +58 -0
  79. data/lib/client/controller.rb +68 -0
  80. data/lib/client/controller/change.rb +26 -0
  81. data/lib/client/controller/create.rb +26 -0
  82. data/lib/client/controller/firstrun.rb +30 -0
  83. data/lib/client/controller/status.rb +43 -0
  84. data/lib/client/controller/update.rb +26 -0
  85. data/lib/client/helper.rb +21 -0
  86. data/lib/client/helper/apicommunication.rb +78 -0
  87. data/lib/client/helper/endpoint.rb +61 -0
  88. data/lib/client/helper/formatting.rb +23 -0
  89. data/lib/client/helper/network.rb +54 -0
  90. data/lib/client/helper/results.rb +28 -0
  91. data/lib/client/helper/time.rb +33 -0
  92. data/lib/client/request.rb +22 -0
  93. data/lib/client/router.rb +56 -0
  94. data/lib/client/utils.rb +18 -0
  95. data/lib/client/version.rb +4 -0
  96. data/lib/test.rb +13 -0
  97. data/lib/test/base.rb +17 -0
  98. data/test/test_change_branch.rb +14 -0
  99. data/test/test_configuration.rb +21 -0
  100. data/test/test_create.rb +14 -0
  101. data/test/test_update.rb +24 -0
  102. data/vermillion-client.gemspec +23 -0
  103. metadata +201 -0
@@ -0,0 +1,256 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class Vermillion::Controller::Firstrun - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../../index.html">Home</a>
28
+ <a href="../../table_of_contents.html#classes">Classes</a>
29
+ <a href="../../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+
47
+
48
+ <div id="file-metadata">
49
+ <nav id="file-list-section" class="section">
50
+ <h3 class="section-header">Defined In</h3>
51
+ <ul>
52
+ <li>lib/client/controller/firstrun.rb
53
+ </ul>
54
+ </nav>
55
+
56
+
57
+ </div>
58
+
59
+ <div id="class-metadata">
60
+
61
+ <nav id="parent-class-section" class="section">
62
+ <h3 class="section-header">Parent</h3>
63
+
64
+ <p class="link"><a href="Base.html">Vermillion::Controller::Base</a>
65
+
66
+ </nav>
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <nav id="method-list-section" class="section">
72
+ <h3 class="section-header">Methods</h3>
73
+
74
+ <ul class="link-list">
75
+
76
+ <li ><a href="#method-i-default">#default</a>
77
+
78
+ </ul>
79
+ </nav>
80
+
81
+ </div>
82
+
83
+ <div id="project-metadata">
84
+ <nav id="fileindex-section" class="section project-section">
85
+ <h3 class="section-header">Pages</h3>
86
+
87
+ <ul>
88
+
89
+ <li class="file"><a href="../../Gemfile.html">Gemfile</a>
90
+
91
+ <li class="file"><a href="../../Gemfile_lock.html">Gemfile.lock</a>
92
+
93
+ <li class="file"><a href="../../README_md.html">README</a>
94
+
95
+ <li class="file"><a href="../../Rakefile.html">Rakefile</a>
96
+
97
+ <li class="file"><a href="../../bin/setup.html">setup</a>
98
+
99
+ <li class="file"><a href="../../vermillion-client_gemspec.html">vermillion-client.gemspec</a>
100
+
101
+ </ul>
102
+ </nav>
103
+
104
+ <nav id="classindex-section" class="section project-section">
105
+ <h3 class="section-header">Class and Module Index</h3>
106
+
107
+ <ul class="link-list">
108
+
109
+ <li><a href="../../ChangeBranchTest.html">ChangeBranchTest</a>
110
+
111
+ <li><a href="../../ConfigurationTest.html">ConfigurationTest</a>
112
+
113
+ <li><a href="../../CreateTest.html">CreateTest</a>
114
+
115
+ <li><a href="../../UpdateTest.html">UpdateTest</a>
116
+
117
+ <li><a href="../../Vermillion.html">Vermillion</a>
118
+
119
+ <li><a href="../../Vermillion/Cfg.html">Vermillion::Cfg</a>
120
+
121
+ <li><a href="../../Vermillion/Controller.html">Vermillion::Controller</a>
122
+
123
+ <li><a href="../../Vermillion/Controller/Base.html">Vermillion::Controller::Base</a>
124
+
125
+ <li><a href="../../Vermillion/Controller/Change.html">Vermillion::Controller::Change</a>
126
+
127
+ <li><a href="../../Vermillion/Controller/Create.html">Vermillion::Controller::Create</a>
128
+
129
+ <li><a href="../../Vermillion/Controller/Firstrun.html">Vermillion::Controller::Firstrun</a>
130
+
131
+ <li><a href="../../Vermillion/Controller/Status.html">Vermillion::Controller::Status</a>
132
+
133
+ <li><a href="../../Vermillion/Controller/Update.html">Vermillion::Controller::Update</a>
134
+
135
+ <li><a href="../../Vermillion/Helper.html">Vermillion::Helper</a>
136
+
137
+ <li><a href="../../Vermillion/Helper/ApiCommunication.html">Vermillion::Helper::ApiCommunication</a>
138
+
139
+ <li><a href="../../Vermillion/Helper/Endpoint.html">Vermillion::Helper::Endpoint</a>
140
+
141
+ <li><a href="../../Vermillion/Helper/Formatting.html">Vermillion::Helper::Formatting</a>
142
+
143
+ <li><a href="../../Vermillion/Helper/Network.html">Vermillion::Helper::Network</a>
144
+
145
+ <li><a href="../../Vermillion/Helper/Results.html">Vermillion::Helper::Results</a>
146
+
147
+ <li><a href="../../Vermillion/Helper/Time.html">Vermillion::Helper::Time</a>
148
+
149
+ <li><a href="../../Vermillion/Request.html">Vermillion::Request</a>
150
+
151
+ <li><a href="../../Vermillion/Router.html">Vermillion::Router</a>
152
+
153
+ <li><a href="../../Vermillion/Test.html">Vermillion::Test</a>
154
+
155
+ <li><a href="../../Vermillion/Test/Base.html">Vermillion::Test::Base</a>
156
+
157
+ <li><a href="../../Vermillion/Utils.html">Vermillion::Utils</a>
158
+
159
+ </ul>
160
+ </nav>
161
+
162
+ </div>
163
+ </nav>
164
+
165
+ <div id="documentation">
166
+ <h1 class="class">class Vermillion::Controller::Firstrun</h1>
167
+
168
+ <div id="description" class="description">
169
+
170
+ </div><!-- description -->
171
+
172
+
173
+
174
+
175
+ <section id="5Buntitled-5D" class="documentation-section">
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+ <!-- Methods -->
185
+
186
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
187
+ <h3 class="section-header">Public Instance Methods</h3>
188
+
189
+
190
+ <div id="method-i-default" class="method-detail ">
191
+
192
+ <div class="method-heading">
193
+ <span class="method-name">default</span><span
194
+ class="method-args">()</span>
195
+
196
+ <span class="method-click-advice">click to toggle source</span>
197
+
198
+ </div>
199
+
200
+
201
+ <div class="method-description">
202
+
203
+ <p><a href="Create.html">Create</a> the configuration file if it does not
204
+ exist</p>
205
+
206
+
207
+
208
+
209
+ <div class="method-source-code" id="default-source">
210
+ <pre><span class="ruby-comment"># File lib/client/controller/firstrun.rb, line 5</span>
211
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">default</span>
212
+ <span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">home</span> <span class="ruby-operator">+</span> <span class="ruby-string">&#39;/.vermillion.yml&#39;</span>)
213
+ <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">error</span>(<span class="ruby-string">&quot;Configuration already exists, this is not the first run! Exiting.&quot;</span>, <span class="ruby-identifier">show_time</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>)
214
+ <span class="ruby-keyword">end</span>
215
+
216
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">home</span> <span class="ruby-operator">+</span> <span class="ruby-string">&#39;/.vermillion.yml&#39;</span>, <span class="ruby-string">&quot;w&quot;</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
217
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">write</span> <span class="ruby-value">&lt;&lt;-&#39;CONTENTS&#39;
218
+ servers:
219
+ -
220
+ name: dev
221
+ address: 192.168.0.74
222
+ https: false
223
+ key: EDIT_ME
224
+ -
225
+ name: local
226
+ address: localhost:8000
227
+ https: false
228
+ key: EDIT_ME
229
+ user:
230
+ test@example.com
231
+ CONTENTS</span>
232
+ <span class="ruby-keyword">end</span>
233
+ <span class="ruby-keyword">end</span></pre>
234
+ </div><!-- default-source -->
235
+
236
+ </div>
237
+
238
+
239
+
240
+
241
+ </div><!-- default-method -->
242
+
243
+
244
+ </section><!-- public-instance-method-details -->
245
+
246
+ </section><!-- 5Buntitled-5D -->
247
+
248
+ </div><!-- documentation -->
249
+
250
+
251
+ <footer id="validator-badges">
252
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
253
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
254
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
255
+ </footer>
256
+
@@ -0,0 +1,308 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class Vermillion::Controller::Status - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../../index.html">Home</a>
28
+ <a href="../../table_of_contents.html#classes">Classes</a>
29
+ <a href="../../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+
47
+
48
+ <div id="file-metadata">
49
+ <nav id="file-list-section" class="section">
50
+ <h3 class="section-header">Defined In</h3>
51
+ <ul>
52
+ <li>lib/client/controller/status.rb
53
+ </ul>
54
+ </nav>
55
+
56
+
57
+ </div>
58
+
59
+ <div id="class-metadata">
60
+
61
+ <nav id="parent-class-section" class="section">
62
+ <h3 class="section-header">Parent</h3>
63
+
64
+ <p class="link"><a href="Base.html">Vermillion::Controller::Base</a>
65
+
66
+ </nav>
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <nav id="method-list-section" class="section">
72
+ <h3 class="section-header">Methods</h3>
73
+
74
+ <ul class="link-list">
75
+
76
+ <li ><a href="#method-i-config">#config</a>
77
+
78
+ <li ><a href="#method-i-default">#default</a>
79
+
80
+ <li ><a href="#method-i-servers">#servers</a>
81
+
82
+ </ul>
83
+ </nav>
84
+
85
+ </div>
86
+
87
+ <div id="project-metadata">
88
+ <nav id="fileindex-section" class="section project-section">
89
+ <h3 class="section-header">Pages</h3>
90
+
91
+ <ul>
92
+
93
+ <li class="file"><a href="../../Gemfile.html">Gemfile</a>
94
+
95
+ <li class="file"><a href="../../Gemfile_lock.html">Gemfile.lock</a>
96
+
97
+ <li class="file"><a href="../../README_md.html">README</a>
98
+
99
+ <li class="file"><a href="../../Rakefile.html">Rakefile</a>
100
+
101
+ <li class="file"><a href="../../bin/setup.html">setup</a>
102
+
103
+ <li class="file"><a href="../../vermillion-client_gemspec.html">vermillion-client.gemspec</a>
104
+
105
+ </ul>
106
+ </nav>
107
+
108
+ <nav id="classindex-section" class="section project-section">
109
+ <h3 class="section-header">Class and Module Index</h3>
110
+
111
+ <ul class="link-list">
112
+
113
+ <li><a href="../../ChangeBranchTest.html">ChangeBranchTest</a>
114
+
115
+ <li><a href="../../ConfigurationTest.html">ConfigurationTest</a>
116
+
117
+ <li><a href="../../CreateTest.html">CreateTest</a>
118
+
119
+ <li><a href="../../UpdateTest.html">UpdateTest</a>
120
+
121
+ <li><a href="../../Vermillion.html">Vermillion</a>
122
+
123
+ <li><a href="../../Vermillion/Cfg.html">Vermillion::Cfg</a>
124
+
125
+ <li><a href="../../Vermillion/Controller.html">Vermillion::Controller</a>
126
+
127
+ <li><a href="../../Vermillion/Controller/Base.html">Vermillion::Controller::Base</a>
128
+
129
+ <li><a href="../../Vermillion/Controller/Change.html">Vermillion::Controller::Change</a>
130
+
131
+ <li><a href="../../Vermillion/Controller/Create.html">Vermillion::Controller::Create</a>
132
+
133
+ <li><a href="../../Vermillion/Controller/Firstrun.html">Vermillion::Controller::Firstrun</a>
134
+
135
+ <li><a href="../../Vermillion/Controller/Status.html">Vermillion::Controller::Status</a>
136
+
137
+ <li><a href="../../Vermillion/Controller/Update.html">Vermillion::Controller::Update</a>
138
+
139
+ <li><a href="../../Vermillion/Helper.html">Vermillion::Helper</a>
140
+
141
+ <li><a href="../../Vermillion/Helper/ApiCommunication.html">Vermillion::Helper::ApiCommunication</a>
142
+
143
+ <li><a href="../../Vermillion/Helper/Endpoint.html">Vermillion::Helper::Endpoint</a>
144
+
145
+ <li><a href="../../Vermillion/Helper/Formatting.html">Vermillion::Helper::Formatting</a>
146
+
147
+ <li><a href="../../Vermillion/Helper/Network.html">Vermillion::Helper::Network</a>
148
+
149
+ <li><a href="../../Vermillion/Helper/Results.html">Vermillion::Helper::Results</a>
150
+
151
+ <li><a href="../../Vermillion/Helper/Time.html">Vermillion::Helper::Time</a>
152
+
153
+ <li><a href="../../Vermillion/Request.html">Vermillion::Request</a>
154
+
155
+ <li><a href="../../Vermillion/Router.html">Vermillion::Router</a>
156
+
157
+ <li><a href="../../Vermillion/Test.html">Vermillion::Test</a>
158
+
159
+ <li><a href="../../Vermillion/Test/Base.html">Vermillion::Test::Base</a>
160
+
161
+ <li><a href="../../Vermillion/Utils.html">Vermillion::Utils</a>
162
+
163
+ </ul>
164
+ </nav>
165
+
166
+ </div>
167
+ </nav>
168
+
169
+ <div id="documentation">
170
+ <h1 class="class">class Vermillion::Controller::Status</h1>
171
+
172
+ <div id="description" class="description">
173
+
174
+ </div><!-- description -->
175
+
176
+
177
+
178
+
179
+ <section id="5Buntitled-5D" class="documentation-section">
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+ <!-- Methods -->
189
+
190
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
191
+ <h3 class="section-header">Public Instance Methods</h3>
192
+
193
+
194
+ <div id="method-i-config" class="method-detail ">
195
+
196
+ <div class="method-heading">
197
+ <span class="method-name">config</span><span
198
+ class="method-args">()</span>
199
+
200
+ <span class="method-click-advice">click to toggle source</span>
201
+
202
+ </div>
203
+
204
+
205
+ <div class="method-description">
206
+
207
+ <p>Print configuration information</p>
208
+
209
+
210
+
211
+
212
+ <div class="method-source-code" id="config-source">
213
+ <pre><span class="ruby-comment"># File lib/client/controller/status.rb, line 13</span>
214
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">config</span>
215
+ <span class="ruby-identifier">print_config</span>
216
+ <span class="ruby-keyword">end</span></pre>
217
+ </div><!-- config-source -->
218
+
219
+ </div>
220
+
221
+
222
+
223
+
224
+ </div><!-- config-method -->
225
+
226
+
227
+ <div id="method-i-default" class="method-detail ">
228
+
229
+ <div class="method-heading">
230
+ <span class="method-name">default</span><span
231
+ class="method-args">()</span>
232
+
233
+ <span class="method-click-advice">click to toggle source</span>
234
+
235
+ </div>
236
+
237
+
238
+ <div class="method-description">
239
+
240
+ <p>Prints both configuration and server information, returns status code 0</p>
241
+
242
+
243
+
244
+
245
+ <div class="method-source-code" id="default-source">
246
+ <pre><span class="ruby-comment"># File lib/client/controller/status.rb, line 5</span>
247
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">default</span>
248
+ <span class="ruby-identifier">print_config</span>
249
+ <span class="ruby-identifier">print_servers</span>
250
+
251
+ <span class="ruby-constant">OK</span>
252
+ <span class="ruby-keyword">end</span></pre>
253
+ </div><!-- default-source -->
254
+
255
+ </div>
256
+
257
+
258
+
259
+
260
+ </div><!-- default-method -->
261
+
262
+
263
+ <div id="method-i-servers" class="method-detail ">
264
+
265
+ <div class="method-heading">
266
+ <span class="method-name">servers</span><span
267
+ class="method-args">()</span>
268
+
269
+ <span class="method-click-advice">click to toggle source</span>
270
+
271
+ </div>
272
+
273
+
274
+ <div class="method-description">
275
+
276
+ <p>Print configured server information</p>
277
+
278
+
279
+
280
+
281
+ <div class="method-source-code" id="servers-source">
282
+ <pre><span class="ruby-comment"># File lib/client/controller/status.rb, line 18</span>
283
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">servers</span>
284
+ <span class="ruby-identifier">print_servers</span>
285
+ <span class="ruby-keyword">end</span></pre>
286
+ </div><!-- servers-source -->
287
+
288
+ </div>
289
+
290
+
291
+
292
+
293
+ </div><!-- servers-method -->
294
+
295
+
296
+ </section><!-- public-instance-method-details -->
297
+
298
+ </section><!-- 5Buntitled-5D -->
299
+
300
+ </div><!-- documentation -->
301
+
302
+
303
+ <footer id="validator-badges">
304
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
305
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
306
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
307
+ </footer>
308
+