greeve 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +139 -0
  3. data/doc/Greeve.html +5 -5
  4. data/doc/Greeve/API.html +15 -3
  5. data/doc/Greeve/API/CallList.html +466 -0
  6. data/doc/Greeve/Account.html +130 -0
  7. data/doc/Greeve/Account/APIKeyInfo.html +599 -0
  8. data/doc/Greeve/Account/AccountStatus.html +579 -0
  9. data/doc/Greeve/Account/Characters.html +389 -0
  10. data/doc/Greeve/Application.html +428 -0
  11. data/doc/Greeve/Attributable.html +123 -0
  12. data/doc/Greeve/BaseItem.html +240 -210
  13. data/doc/Greeve/Character.html +15 -3
  14. data/doc/Greeve/Character/AccountBalance.html +420 -0
  15. data/doc/Greeve/Character/AssetList.html +480 -0
  16. data/doc/Greeve/Character/Blueprints.html +535 -0
  17. data/doc/Greeve/Character/CalendarEventAttendees.html +461 -0
  18. data/doc/Greeve/Character/CharacterSheet.html +3407 -0
  19. data/doc/Greeve/Character/Clones.html +1700 -0
  20. data/doc/Greeve/Character/ContactList.html +1047 -0
  21. data/doc/Greeve/Character/ContactNotifications.html +446 -0
  22. data/doc/Greeve/Character/ContractBids.html +446 -0
  23. data/doc/Greeve/Character/ContractItems.html +483 -0
  24. data/doc/Greeve/Character/Contracts.html +720 -0
  25. data/doc/Greeve/Character/FacWarStats.html +1075 -0
  26. data/doc/Greeve/Character/IndustryJobs.html +732 -0
  27. data/doc/Greeve/Character/IndustryJobsHistory.html +732 -0
  28. data/doc/Greeve/Character/Locations.html +503 -0
  29. data/doc/Greeve/Character/MailBodies.html +435 -0
  30. data/doc/Greeve/Character/MailMessages.html +485 -0
  31. data/doc/Greeve/Character/MailingLists.html +407 -0
  32. data/doc/Greeve/Character/MarketOrders.html +626 -0
  33. data/doc/Greeve/Character/Medals.html +665 -0
  34. data/doc/Greeve/Character/Notifications.html +459 -0
  35. data/doc/Greeve/Character/PlanetaryColonies.html +524 -0
  36. data/doc/Greeve/Character/PlanetaryLinks.html +444 -0
  37. data/doc/Greeve/Character/PlanetaryPins.html +587 -0
  38. data/doc/Greeve/Character/PlanetaryRoutes.html +548 -0
  39. data/doc/Greeve/Character/Research.html +446 -0
  40. data/doc/Greeve/Character/SkillInTraining.html +865 -0
  41. data/doc/Greeve/Character/SkillQueue.html +472 -0
  42. data/doc/Greeve/Character/Skills.html +516 -0
  43. data/doc/Greeve/Character/Standings.html +650 -0
  44. data/doc/Greeve/Character/UpcomingCalendarEvents.html +511 -0
  45. data/doc/Greeve/Character/WalletJournal.html +658 -0
  46. data/doc/Greeve/Character/WalletTransactions.html +631 -0
  47. data/doc/Greeve/Config.html +315 -0
  48. data/doc/Greeve/Corporation.html +15 -3
  49. data/doc/Greeve/Corporation/AccountBalance.html +324 -0
  50. data/doc/Greeve/Corporation/Contracts.html +700 -0
  51. data/doc/Greeve/Corporation/CorporationSheet.html +1285 -0
  52. data/doc/Greeve/Corporation/IndustryJobs.html +636 -0
  53. data/doc/Greeve/Corporation/IndustryJobsHistory.html +636 -0
  54. data/doc/Greeve/Corporation/Locations.html +452 -0
  55. data/doc/Greeve/Corporation/MarketOrders.html +609 -0
  56. data/doc/Greeve/Corporation/MemberTracking.html +596 -0
  57. data/doc/Greeve/Corporation/Standings.html +554 -0
  58. data/doc/Greeve/Corporation/StarbaseDetail.html +619 -0
  59. data/doc/Greeve/Corporation/StarbaseList.html +389 -0
  60. data/doc/Greeve/Corporation/WalletJournal.html +631 -0
  61. data/doc/Greeve/Corporation/WalletTransactions.html +657 -0
  62. data/doc/Greeve/Eve.html +3 -3
  63. data/doc/Greeve/Eve/AllianceList.html +476 -0
  64. data/doc/Greeve/Eve/CharacterAffiliation.html +491 -0
  65. data/doc/Greeve/Eve/CharacterID.html +413 -0
  66. data/doc/Greeve/Eve/CharacterInfo.html +1705 -52
  67. data/doc/Greeve/Eve/CharacterName.html +414 -0
  68. data/doc/Greeve/Eve/ConquerableStationList.html +402 -0
  69. data/doc/Greeve/Eve/ErrorList.html +311 -0
  70. data/doc/Greeve/Eve/RefTypes.html +312 -0
  71. data/doc/Greeve/Eve/TypeName.html +413 -0
  72. data/doc/Greeve/Helpers.html +130 -0
  73. data/doc/Greeve/Helpers/AddAttribute.html +124 -0
  74. data/doc/Greeve/Helpers/AttributeToHash.html +245 -0
  75. data/doc/Greeve/Helpers/DefineAttributeMethod.html +124 -0
  76. data/doc/Greeve/Helpers/DefineDSLMethods.html +124 -0
  77. data/doc/Greeve/Map.html +15 -3
  78. data/doc/Greeve/Map/FacWarSystems.html +404 -0
  79. data/doc/Greeve/Map/Jumps.html +313 -0
  80. data/doc/Greeve/Map/Kills.html +339 -0
  81. data/doc/Greeve/Map/Sovereignty.html +351 -0
  82. data/doc/Greeve/Namespace.html +586 -0
  83. data/doc/Greeve/ResponseError.html +521 -0
  84. data/doc/Greeve/Row.html +40 -161
  85. data/doc/Greeve/Rowset.html +28 -22
  86. data/doc/Greeve/Server.html +15 -3
  87. data/doc/Greeve/Server/ServerStatus.html +349 -0
  88. data/doc/_index.html +600 -4
  89. data/doc/class_list.html +1 -1
  90. data/doc/file.CONTRIBUTING.html +1 -1
  91. data/doc/file.LICENSE.html +1 -1
  92. data/doc/file.README.html +140 -1
  93. data/doc/index.html +140 -1
  94. data/doc/method_list.html +2024 -32
  95. data/doc/top-level-namespace.html +1 -1
  96. data/lib/greeve.rb +75 -0
  97. data/lib/greeve/account/account_status.rb +22 -0
  98. data/lib/greeve/account/api_key_info.rb +27 -0
  99. data/lib/greeve/account/characters.rb +23 -0
  100. data/lib/greeve/api/call_list.rb +27 -0
  101. data/lib/greeve/base_item.rb +41 -57
  102. data/lib/greeve/character/account_balance.rb +24 -0
  103. data/lib/greeve/character/asset_list.rb +32 -0
  104. data/lib/greeve/character/blueprints.rb +35 -0
  105. data/lib/greeve/character/calendar_event_attendees.rb +33 -0
  106. data/lib/greeve/character/character_sheet.rb +110 -0
  107. data/lib/greeve/character/clones.rb +60 -0
  108. data/lib/greeve/character/contact_list.rb +58 -0
  109. data/lib/greeve/character/contact_notifications.rb +26 -0
  110. data/lib/greeve/character/contract_bids.rb +26 -0
  111. data/lib/greeve/character/contract_items.rb +32 -0
  112. data/lib/greeve/character/contracts.rb +49 -0
  113. data/lib/greeve/character/fac_war_stats.rb +30 -0
  114. data/lib/greeve/character/industry_jobs.rb +48 -0
  115. data/lib/greeve/character/industry_jobs_history.rb +48 -0
  116. data/lib/greeve/character/locations.rb +36 -0
  117. data/lib/greeve/character/mail_bodies.rb +33 -0
  118. data/lib/greeve/character/mail_messages.rb +29 -0
  119. data/lib/greeve/character/mailing_lists.rb +23 -0
  120. data/lib/greeve/character/market_orders.rb +42 -0
  121. data/lib/greeve/character/medals.rb +40 -0
  122. data/lib/greeve/character/notifications.rb +27 -0
  123. data/lib/greeve/character/planetary_colonies.rb +32 -0
  124. data/lib/greeve/character/planetary_links.rb +30 -0
  125. data/lib/greeve/character/planetary_pins.rb +41 -0
  126. data/lib/greeve/character/planetary_routes.rb +38 -0
  127. data/lib/greeve/character/research.rb +26 -0
  128. data/lib/greeve/character/skill_in_training.rb +27 -0
  129. data/lib/greeve/character/skill_queue.rb +28 -0
  130. data/lib/greeve/character/skills.rb +28 -0
  131. data/lib/greeve/character/standings.rb +36 -0
  132. data/lib/greeve/character/upcoming_calendar_events.rb +31 -0
  133. data/lib/greeve/character/wallet_journal.rb +49 -0
  134. data/lib/greeve/character/wallet_transactions.rb +47 -0
  135. data/lib/greeve/config.rb +16 -0
  136. data/lib/greeve/corporation/account_balance.rb +18 -0
  137. data/lib/greeve/corporation/contracts.rb +46 -0
  138. data/lib/greeve/corporation/corporation_sheet.rb +43 -0
  139. data/lib/greeve/corporation/industry_jobs.rb +42 -0
  140. data/lib/greeve/corporation/industry_jobs_history.rb +42 -0
  141. data/lib/greeve/corporation/locations.rb +31 -0
  142. data/lib/greeve/corporation/market_orders.rb +39 -0
  143. data/lib/greeve/corporation/member_tracking.rb +38 -0
  144. data/lib/greeve/corporation/standings.rb +30 -0
  145. data/lib/greeve/corporation/starbase_detail.rb +58 -0
  146. data/lib/greeve/corporation/starbase_list.rb +23 -0
  147. data/lib/greeve/corporation/wallet_journal.rb +48 -0
  148. data/lib/greeve/corporation/wallet_transactions.rb +50 -0
  149. data/lib/greeve/eve/alliance_list.rb +29 -0
  150. data/lib/greeve/eve/character_affiliation.rb +34 -0
  151. data/lib/greeve/eve/character_id.rb +28 -0
  152. data/lib/greeve/eve/character_info.rb +4 -1
  153. data/lib/greeve/eve/character_name.rb +29 -0
  154. data/lib/greeve/eve/conquerable_station_list.rb +24 -0
  155. data/lib/greeve/eve/error_list.rb +17 -0
  156. data/lib/greeve/eve/ref_types.rb +18 -0
  157. data/lib/greeve/eve/type_name.rb +28 -0
  158. data/lib/greeve/helpers/add_attribute.rb +25 -0
  159. data/lib/greeve/helpers/attribute_to_hash.rb +24 -0
  160. data/lib/greeve/helpers/define_dsl_methods.rb +70 -0
  161. data/lib/greeve/map/fac_war_systems.rb +26 -0
  162. data/lib/greeve/map/jumps.rb +19 -0
  163. data/lib/greeve/map/kills.rb +21 -0
  164. data/lib/greeve/map/sovereignty.rb +21 -0
  165. data/lib/greeve/namespace.rb +74 -0
  166. data/lib/greeve/response_error.rb +21 -0
  167. data/lib/greeve/row.rb +11 -33
  168. data/lib/greeve/rowset.rb +6 -15
  169. data/lib/greeve/server/server_status.rb +15 -0
  170. data/lib/greeve/version.rb +1 -1
  171. metadata +165 -2
@@ -89,6 +89,11 @@
89
89
 
90
90
 
91
91
 
92
+ <dl>
93
+ <dt>Includes:</dt>
94
+ <dd><span class='object_link'><a href="Helpers/AttributeToHash.html" title="Greeve::Helpers::AttributeToHash (module)">Helpers::AttributeToHash</a></span>, <span class='object_link'><a href="Helpers/DefineDSLMethods.html" title="Greeve::Helpers::DefineDSLMethods (module)">Helpers::DefineDSLMethods</a></span></dd>
95
+ </dl>
96
+
92
97
 
93
98
 
94
99
 
@@ -180,7 +185,7 @@
180
185
  <li class="public ">
181
186
  <span class="summary_signature">
182
187
 
183
- <a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> &#x21d2; Hash </a>
188
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; String </a>
184
189
 
185
190
 
186
191
 
@@ -195,20 +200,16 @@
195
200
 
196
201
 
197
202
  <span class="summary_desc"><div class='inline'>
198
- <p>A hash of non-nil attributes.</p>
203
+ <p>A string representation of the non-nil attributes.</p>
199
204
  </div></span>
200
205
 
201
206
  </li>
202
207
 
203
208
 
204
- <li class="public ">
205
- <span class="summary_signature">
206
-
207
- <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; String </a>
208
-
209
+ </ul>
210
+
211
+
209
212
 
210
-
211
- </span>
212
213
 
213
214
 
214
215
 
@@ -216,18 +217,15 @@
216
217
 
217
218
 
218
219
 
219
-
220
220
 
221
- <span class="summary_desc"><div class='inline'>
222
- <p>A string representation of the non-nil attributes.</p>
223
- </div></span>
224
221
 
225
- </li>
226
-
227
-
228
- </ul>
229
222
 
230
-
223
+
224
+
225
+
226
+
227
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="Helpers/AttributeToHash.html" title="Greeve::Helpers::AttributeToHash (module)">Helpers::AttributeToHash</a></span></h3>
228
+ <p class="inherited"><span class='object_link'><a href="Helpers/AttributeToHash.html#to_h-instance_method" title="Greeve::Helpers::AttributeToHash#to_h (method)">#to_h</a></span></p>
231
229
  <div id="constructor_details" class="method_details_list">
232
230
  <h2>Constructor Details</h2>
233
231
 
@@ -293,12 +291,6 @@
293
291
  <pre class="lines">
294
292
 
295
293
 
296
- 6
297
- 7
298
- 8
299
- 9
300
- 10
301
- 11
302
294
  12
303
295
  13
304
296
  14
@@ -306,53 +298,17 @@
306
298
  16
307
299
  17
308
300
  18
309
- 19
310
- 20
311
- 21
312
- 22
313
- 23
314
- 24
315
- 25
316
- 26
317
- 27
318
- 28
319
- 29
320
- 30
321
- 31
322
- 32
323
- 33
324
- 34</pre>
301
+ 19</pre>
325
302
  </td>
326
303
  <td>
327
- <pre class="code"><span class="info file"># File 'lib/greeve/row.rb', line 6</span>
304
+ <pre class="code"><span class="info file"># File 'lib/greeve/row.rb', line 12</span>
328
305
 
329
306
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_xml_element'>xml_element</span><span class='comma'>,</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
330
307
  <span class='ivar'>@xml_element</span> <span class='op'>=</span> <span class='id identifier rubyid_xml_element'>xml_element</span>
331
308
  <span class='ivar'>@attributes</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span>
332
309
 
333
310
  <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='op'>|</span>
334
- <span class='id identifier rubyid_define_singleton_method'>define_singleton_method</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='kw'>do</span>
335
- <span class='id identifier rubyid_ivar'>ivar</span> <span class='op'>=</span> <span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span><span class='lparen'>(</span><span class='symbol'>:@</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
336
- <span class='kw'>return</span> <span class='id identifier rubyid_ivar'>ivar</span> <span class='kw'>unless</span> <span class='id identifier rubyid_ivar'>ivar</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
337
-
338
- <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='ivar'>@xml_element</span><span class='period'>.</span><span class='id identifier rubyid_locate'>locate</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:xpath</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
339
-
340
- <span class='kw'>unless</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
341
- <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span>
342
- <span class='kw'>case</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:type</span><span class='rbracket'>]</span>
343
- <span class='kw'>when</span> <span class='symbol'>:integer</span>
344
- <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
345
- <span class='kw'>when</span> <span class='symbol'>:numeric</span>
346
- <span class='const'>BigDecimal</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
347
- <span class='kw'>when</span> <span class='symbol'>:string</span>
348
- <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
349
- <span class='kw'>when</span> <span class='symbol'>:datetime</span>
350
- <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> UTC</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
351
- <span class='kw'>end</span>
352
- <span class='kw'>end</span>
353
-
354
- <span class='id identifier rubyid_instance_variable_set'>instance_variable_set</span><span class='lparen'>(</span><span class='symbol'>:@</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
355
- <span class='kw'>end</span>
311
+ <span class='id identifier rubyid_define_attribute_method'>define_attribute_method</span><span class='lparen'>(</span><span class='symbol'>:instance</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
356
312
  <span class='kw'>end</span>
357
313
  <span class='kw'>end</span></pre>
358
314
  </td>
@@ -393,19 +349,19 @@
393
349
  <pre class="lines">
394
350
 
395
351
 
396
- 37
397
- 38
398
- 39
399
- 40
400
- 41
401
- 42
402
- 43
403
- 44
404
- 45
405
- 46</pre>
352
+ 22
353
+ 23
354
+ 24
355
+ 25
356
+ 26
357
+ 27
358
+ 28
359
+ 29
360
+ 30
361
+ 31</pre>
406
362
  </td>
407
363
  <td>
408
- <pre class="code"><span class="info file"># File 'lib/greeve/row.rb', line 37</span>
364
+ <pre class="code"><span class="info file"># File 'lib/greeve/row.rb', line 22</span>
409
365
 
410
366
  <span class='kw'>def</span> <span class='id identifier rubyid_inspect'>inspect</span>
411
367
  <span class='id identifier rubyid_attrs'>attrs</span> <span class='op'>=</span> <span class='id identifier rubyid_to_s'>to_s</span>
@@ -420,83 +376,6 @@
420
376
  </td>
421
377
  </tr>
422
378
  </table>
423
- </div>
424
-
425
- <div class="method_details ">
426
- <h3 class="signature " id="to_h-instance_method">
427
-
428
- #<strong>to_h</strong> &#x21d2; <tt>Hash</tt>
429
-
430
-
431
-
432
-
433
-
434
- </h3><div class="docstring">
435
- <div class="discussion">
436
-
437
- <p>Returns a hash of non-nil attributes</p>
438
-
439
-
440
- </div>
441
- </div>
442
- <div class="tags">
443
-
444
- <p class="tag_title">Returns:</p>
445
- <ul class="return">
446
-
447
- <li>
448
-
449
-
450
- <span class='type'>(<tt>Hash</tt>)</span>
451
-
452
-
453
-
454
- &mdash;
455
- <div class='inline'>
456
- <p>a hash of non-nil attributes</p>
457
- </div>
458
-
459
- </li>
460
-
461
- </ul>
462
-
463
- </div><table class="source_code">
464
- <tr>
465
- <td>
466
- <pre class="lines">
467
-
468
-
469
- 59
470
- 60
471
- 61
472
- 62
473
- 63
474
- 64
475
- 65
476
- 66
477
- 67
478
- 68
479
- 69
480
- 70</pre>
481
- </td>
482
- <td>
483
- <pre class="code"><span class="info file"># File 'lib/greeve/row.rb', line 59</span>
484
-
485
- <span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
486
- <span class='ivar'>@attributes</span><span class='period'>
487
- </span><span class='id identifier rubyid_ .keys'> .keys</span><span class='period'>
488
- </span><span class='id identifier rubyid_ .map'> .map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='op'>|</span>
489
- <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='id identifier rubyid___send__'>__send__</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
490
- <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_a'>to_a</span> <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Rowset</span><span class='rparen'>)</span>
491
-
492
- <span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rbracket'>]</span>
493
- <span class='rbrace'>}</span><span class='period'>
494
- </span><span class='id identifier rubyid_ .to_h'> .to_h</span><span class='period'>
495
- </span><span class='id identifier rubyid_ .reject'> .reject</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='rbrace'>}</span>
496
- <span class='kw'>end</span></pre>
497
- </td>
498
- </tr>
499
- </table>
500
379
  </div>
501
380
 
502
381
  <div class="method_details ">
@@ -543,17 +422,17 @@
543
422
  <pre class="lines">
544
423
 
545
424
 
546
- 49
547
- 50
548
- 51
549
- 52
550
- 53
551
- 54
552
- 55
553
- 56</pre>
425
+ 34
426
+ 35
427
+ 36
428
+ 37
429
+ 38
430
+ 39
431
+ 40
432
+ 41</pre>
554
433
  </td>
555
434
  <td>
556
- <pre class="code"><span class="info file"># File 'lib/greeve/row.rb', line 49</span>
435
+ <pre class="code"><span class="info file"># File 'lib/greeve/row.rb', line 34</span>
557
436
 
558
437
  <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
559
438
  <span class='id identifier rubyid_to_h'>to_h</span><span class='period'>
@@ -573,7 +452,7 @@
573
452
  </div>
574
453
 
575
454
  <div id="footer">
576
- Generated on Wed Aug 24 18:52:46 2016 by
455
+ Generated on Mon Dec 26 15:56:23 2016 by
577
456
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
578
457
  0.9.5 (ruby-2.1.7).
579
458
  </div>
@@ -91,7 +91,7 @@
91
91
 
92
92
  <dl>
93
93
  <dt>Includes:</dt>
94
- <dd>Enumerable</dd>
94
+ <dd>Enumerable, <span class='object_link'><a href="Helpers/AddAttribute.html" title="Greeve::Helpers::AddAttribute (module)">Helpers::AddAttribute</a></span></dd>
95
95
  </dl>
96
96
 
97
97
 
@@ -268,6 +268,12 @@
268
268
 
269
269
 
270
270
 
271
+
272
+
273
+
274
+
275
+
276
+
271
277
  <div id="constructor_details" class="method_details_list">
272
278
  <h2>Constructor Details</h2>
273
279
 
@@ -351,8 +357,6 @@
351
357
  <pre class="lines">
352
358
 
353
359
 
354
- 14
355
- 15
356
360
  16
357
361
  17
358
362
  18
@@ -362,10 +366,12 @@
362
366
  22
363
367
  23
364
368
  24
365
- 25</pre>
369
+ 25
370
+ 26
371
+ 27</pre>
366
372
  </td>
367
373
  <td>
368
- <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 14</span>
374
+ <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 16</span>
369
375
 
370
376
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_xml_element'>xml_element</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
371
377
  <span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
@@ -435,12 +441,12 @@
435
441
  <pre class="lines">
436
442
 
437
443
 
438
- 9
439
- 10
440
- 11</pre>
444
+ 11
445
+ 12
446
+ 13</pre>
441
447
  </td>
442
448
  <td>
443
- <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 9</span>
449
+ <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 11</span>
444
450
 
445
451
  <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
446
452
  <span class='ivar'>@name</span>
@@ -483,12 +489,12 @@
483
489
  <pre class="lines">
484
490
 
485
491
 
486
- 28
487
- 29
488
- 30</pre>
492
+ 30
493
+ 31
494
+ 32</pre>
489
495
  </td>
490
496
  <td>
491
- <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 28</span>
497
+ <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 30</span>
492
498
 
493
499
  <span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
494
500
  <span class='id identifier rubyid_rows'>rows</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
@@ -524,12 +530,12 @@
524
530
  <pre class="lines">
525
531
 
526
532
 
527
- 38
528
- 39
529
- 40</pre>
533
+ 40
534
+ 41
535
+ 42</pre>
530
536
  </td>
531
537
  <td>
532
- <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 38</span>
538
+ <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 40</span>
533
539
 
534
540
  <span class='kw'>def</span> <span class='id identifier rubyid_inspect'>inspect</span>
535
541
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>#&lt;</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_object_id'>object_id</span><span class='embexpr_end'>}</span><span class='tstring_content'> name: </span><span class='embexpr_beg'>#{</span><span class='ivar'>@name</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;</span><span class='tstring_end'>&quot;</span></span>
@@ -583,12 +589,12 @@
583
589
  <pre class="lines">
584
590
 
585
591
 
586
- 33
587
- 34
588
- 35</pre>
592
+ 35
593
+ 36
594
+ 37</pre>
589
595
  </td>
590
596
  <td>
591
- <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 33</span>
597
+ <pre class="code"><span class="info file"># File 'lib/greeve/rowset.rb', line 35</span>
592
598
 
593
599
  <span class='kw'>def</span> <span class='id identifier rubyid_to_a'>to_a</span>
594
600
  <span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:to_h</span><span class='rparen'>)</span>
@@ -603,7 +609,7 @@
603
609
  </div>
604
610
 
605
611
  <div id="footer">
606
- Generated on Wed Aug 24 18:52:46 2016 by
612
+ Generated on Mon Dec 26 15:56:23 2016 by
607
613
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
608
614
  0.9.5 (ruby-2.1.7).
609
615
  </div>
@@ -80,7 +80,9 @@
80
80
 
81
81
  <dl>
82
82
  <dt>Defined in:</dt>
83
- <dd>lib/greeve.rb</dd>
83
+ <dd>lib/greeve.rb<span class="defines">,<br />
84
+ lib/greeve/server/server_status.rb</span>
85
+ </dd>
84
86
  </dl>
85
87
 
86
88
  </div>
@@ -96,7 +98,17 @@
96
98
  <div class="tags">
97
99
 
98
100
 
99
- </div>
101
+ </div><h2>Defined Under Namespace</h2>
102
+ <p class="children">
103
+
104
+
105
+
106
+
107
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Server/ServerStatus.html" title="Greeve::Server::ServerStatus (class)">ServerStatus</a></span>
108
+
109
+
110
+ </p>
111
+
100
112
 
101
113
 
102
114
 
@@ -108,7 +120,7 @@
108
120
  </div>
109
121
 
110
122
  <div id="footer">
111
- Generated on Wed Aug 24 18:52:46 2016 by
123
+ Generated on Mon Dec 26 15:56:23 2016 by
112
124
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
113
125
  0.9.5 (ruby-2.1.7).
114
126
  </div>
@@ -0,0 +1,349 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Greeve::Server::ServerStatus
8
+
9
+ &mdash; Documentation by YARD 0.9.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "Greeve::Server::ServerStatus";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (S)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../Greeve.html" title="Greeve (module)">Greeve</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Server.html" title="Greeve::Server (module)">Server</a></span></span>
41
+ &raquo;
42
+ <span class="title">ServerStatus</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame" src="../../class_list.html"></iframe>
63
+
64
+ <div id="content"><h1>Class: Greeve::Server::ServerStatus
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
74
+ <span class="inheritName"><span class='object_link'><a href="../BaseItem.html" title="Greeve::BaseItem (class)">BaseItem</a></span></span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next"><span class='object_link'><a href="../BaseItem.html" title="Greeve::BaseItem (class)">BaseItem</a></span></li>
80
+
81
+ <li class="next">Greeve::Server::ServerStatus</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ <dl>
100
+ <dt>Defined in:</dt>
101
+ <dd>lib/greeve/server/server_status.rb</dd>
102
+ </dl>
103
+
104
+ </div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <div class="note notetag">
110
+ <strong>Note:</strong>
111
+ <div class='inline'>
112
+ <p>Endpoint: <a
113
+ href="https://api.eveonline.com/server/ServerStatus.xml.aspx">api.eveonline.com/server/ServerStatus.xml.aspx</a></p>
114
+ </div>
115
+ </div>
116
+
117
+
118
+ <p>Provides status of the server and the number of users logged in.</p>
119
+
120
+
121
+ </div>
122
+ </div>
123
+ <div class="tags">
124
+
125
+
126
+ <p class="tag_title">See Also:</p>
127
+ <ul class="see">
128
+
129
+ <li><a href="https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/server/serv_serverstatus.html" target="_parent" title="https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/server/serv_serverstatus.html">https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/server/serv_serverstatus.html</a></li>
130
+
131
+ </ul>
132
+
133
+ </div>
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+ <h2>
142
+ Attributes
143
+ <small><a href="#" class="summary_toggle">collapse</a></small>
144
+ </h2>
145
+
146
+ <ul class="summary">
147
+
148
+ <li class="public ">
149
+ <span class="summary_signature">
150
+
151
+ <a href="#online_players-instance_method" title="#online_players (instance method)">#<strong>online_players</strong> &#x21d2; Integer </a>
152
+
153
+
154
+
155
+ </span>
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+ <span class="summary_desc"><div class='inline'></div></span>
166
+
167
+ </li>
168
+
169
+
170
+ <li class="public ">
171
+ <span class="summary_signature">
172
+
173
+ <a href="#server_open-instance_method" title="#server_open (instance method)">#<strong>server_open</strong> &#x21d2; Object </a>
174
+
175
+
176
+
177
+ </span>
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+ <span class="summary_desc"><div class='inline'></div></span>
188
+
189
+ </li>
190
+
191
+
192
+ </ul>
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../BaseItem.html" title="Greeve::BaseItem (class)">BaseItem</a></span></h3>
205
+ <p class="inherited"><span class='object_link'><a href="../BaseItem.html#attribute-class_method" title="Greeve::BaseItem.attribute (method)">attribute</a></span>, <span class='object_link'><a href="../BaseItem.html#cache_expired%3F-instance_method" title="Greeve::BaseItem#cache_expired? (method)">#cache_expired?</a></span>, <span class='object_link'><a href="../BaseItem.html#cached_until-instance_method" title="Greeve::BaseItem#cached_until (method)">#cached_until</a></span>, <span class='object_link'><a href="../BaseItem.html#endpoint-class_method" title="Greeve::BaseItem.endpoint (method)">endpoint</a></span>, <span class='object_link'><a href="../BaseItem.html#initialize-instance_method" title="Greeve::BaseItem#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../BaseItem.html#inspect-instance_method" title="Greeve::BaseItem#inspect (method)">#inspect</a></span>, <span class='object_link'><a href="../BaseItem.html#namespace-class_method" title="Greeve::BaseItem.namespace (method)">namespace</a></span>, <span class='object_link'><a href="../BaseItem.html#refresh-instance_method" title="Greeve::BaseItem#refresh (method)">#refresh</a></span>, <span class='object_link'><a href="../BaseItem.html#rowset-class_method" title="Greeve::BaseItem.rowset (method)">rowset</a></span>, <span class='object_link'><a href="../BaseItem.html#to_s-instance_method" title="Greeve::BaseItem#to_s (method)">#to_s</a></span></p>
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../Helpers/AttributeToHash.html" title="Greeve::Helpers::AttributeToHash (module)">Helpers::AttributeToHash</a></span></h3>
228
+ <p class="inherited"><span class='object_link'><a href="../Helpers/AttributeToHash.html#to_h-instance_method" title="Greeve::Helpers::AttributeToHash#to_h (method)">#to_h</a></span></p>
229
+ <div id="constructor_details" class="method_details_list">
230
+ <h2>Constructor Details</h2>
231
+
232
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../BaseItem.html#initialize-instance_method" title="Greeve::BaseItem#initialize (method)">Greeve::BaseItem</a></span></p>
233
+
234
+ </div>
235
+
236
+
237
+ <div id="instance_method_details" class="method_details_list">
238
+ <h2>Instance Method Details</h2>
239
+
240
+
241
+ <div class="method_details first">
242
+ <h3 class="signature first" id="online_players-instance_method">
243
+
244
+ #<strong>online_players</strong> &#x21d2; <tt>Integer</tt>
245
+
246
+
247
+
248
+
249
+
250
+ </h3><div class="docstring">
251
+ <div class="discussion">
252
+
253
+
254
+ </div>
255
+ </div>
256
+ <div class="tags">
257
+
258
+ <p class="tag_title">Returns:</p>
259
+ <ul class="return">
260
+
261
+ <li>
262
+
263
+
264
+ <span class='type'>(<tt>Integer</tt>)</span>
265
+
266
+
267
+
268
+ </li>
269
+
270
+ </ul>
271
+
272
+ </div><table class="source_code">
273
+ <tr>
274
+ <td>
275
+ <pre class="lines">
276
+
277
+
278
+ 12</pre>
279
+ </td>
280
+ <td>
281
+ <pre class="code"><span class="info file"># File 'lib/greeve/server/server_status.rb', line 12</span>
282
+
283
+ <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:online_players</span><span class='comma'>,</span> <span class='label'>xpath:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>eveapi/result/onlinePlayers/?[0]</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='symbol'>:integer</span></pre>
284
+ </td>
285
+ </tr>
286
+ </table>
287
+ </div>
288
+
289
+ <div class="method_details ">
290
+ <h3 class="signature " id="server_open-instance_method">
291
+
292
+ #<strong>server_open</strong> &#x21d2; <tt>Object</tt>
293
+
294
+
295
+
296
+
297
+
298
+ </h3><div class="docstring">
299
+ <div class="discussion">
300
+
301
+
302
+ </div>
303
+ </div>
304
+ <div class="tags">
305
+
306
+ <p class="tag_title">Returns:</p>
307
+ <ul class="return">
308
+
309
+ <li>
310
+
311
+
312
+ <span class='type'></span>
313
+
314
+
315
+
316
+ </li>
317
+
318
+ </ul>
319
+
320
+ </div><table class="source_code">
321
+ <tr>
322
+ <td>
323
+ <pre class="lines">
324
+
325
+
326
+ 11</pre>
327
+ </td>
328
+ <td>
329
+ <pre class="code"><span class="info file"># File 'lib/greeve/server/server_status.rb', line 11</span>
330
+
331
+ <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:server_open</span><span class='comma'>,</span> <span class='label'>xpath:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>eveapi/result/serverOpen/?[0]</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='symbol'>:boolean</span></pre>
332
+ </td>
333
+ </tr>
334
+ </table>
335
+ </div>
336
+
337
+ </div>
338
+
339
+ </div>
340
+
341
+ <div id="footer">
342
+ Generated on Mon Dec 26 15:56:24 2016 by
343
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
344
+ 0.9.5 (ruby-2.1.7).
345
+ </div>
346
+
347
+ </div>
348
+ </body>
349
+ </html>