sleeper_rb 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +18 -0
  5. data/.travis.yml +8 -0
  6. data/CHANGELOG.md +9 -0
  7. data/CODE_OF_CONDUCT.md +84 -0
  8. data/Gemfile +14 -0
  9. data/Gemfile.lock +91 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +92 -0
  12. data/Rakefile +24 -0
  13. data/bin/console +15 -0
  14. data/bin/setup +8 -0
  15. data/docs/SleeperRb/BadRequest.html +106 -0
  16. data/docs/SleeperRb/Client.html +354 -0
  17. data/docs/SleeperRb/NotFound.html +106 -0
  18. data/docs/SleeperRb/RateLimitExceeded.html +106 -0
  19. data/docs/SleeperRb/Resources/Avatar.html +231 -0
  20. data/docs/SleeperRb/Resources/Draft/Metadata.html +419 -0
  21. data/docs/SleeperRb/Resources/Draft/Pick/Metadata.html +346 -0
  22. data/docs/SleeperRb/Resources/Draft/Pick.html +430 -0
  23. data/docs/SleeperRb/Resources/Draft/PickArray.html +108 -0
  24. data/docs/SleeperRb/Resources/Draft/Settings.html +361 -0
  25. data/docs/SleeperRb/Resources/Draft.html +560 -0
  26. data/docs/SleeperRb/Resources/DraftArray.html +198 -0
  27. data/docs/SleeperRb/Resources/League/Matchup.html +349 -0
  28. data/docs/SleeperRb/Resources/League/MatchupArray.html +108 -0
  29. data/docs/SleeperRb/Resources/League/Roster/Settings.html +415 -0
  30. data/docs/SleeperRb/Resources/League/Roster.html +409 -0
  31. data/docs/SleeperRb/Resources/League/RosterArray.html +108 -0
  32. data/docs/SleeperRb/Resources/League/ScoringSettings.html +808 -0
  33. data/docs/SleeperRb/Resources/League/Settings.html +648 -0
  34. data/docs/SleeperRb/Resources/League/Transaction/Metadata.html +119 -0
  35. data/docs/SleeperRb/Resources/League/Transaction/Settings.html +140 -0
  36. data/docs/SleeperRb/Resources/League/Transaction/WaiverBudget.html +292 -0
  37. data/docs/SleeperRb/Resources/League/Transaction.html +679 -0
  38. data/docs/SleeperRb/Resources/League/TransactionArray.html +272 -0
  39. data/docs/SleeperRb/Resources/League.html +688 -0
  40. data/docs/SleeperRb/Resources/LeagueArray.html +272 -0
  41. data/docs/SleeperRb/Resources/NflState.html +252 -0
  42. data/docs/SleeperRb/Resources/Player.html +860 -0
  43. data/docs/SleeperRb/Resources/PlayerArray.html +108 -0
  44. data/docs/SleeperRb/Resources/TradedPick.html +345 -0
  45. data/docs/SleeperRb/Resources/TradedPickArray.html +108 -0
  46. data/docs/SleeperRb/Resources/User/Metadata.html +140 -0
  47. data/docs/SleeperRb/Resources/User.html +406 -0
  48. data/docs/SleeperRb/Resources/UserArray.html +108 -0
  49. data/docs/SleeperRb/Resources.html +99 -0
  50. data/docs/SleeperRb/ServerError.html +106 -0
  51. data/docs/SleeperRb/Utilities/ArrayProxy.html +184 -0
  52. data/docs/SleeperRb/Utilities/Cache/ClassMethods.html +326 -0
  53. data/docs/SleeperRb/Utilities/Cache.html +253 -0
  54. data/docs/SleeperRb/Utilities/Request.html +120 -0
  55. data/docs/SleeperRb/Utilities/RosterPosition.html +239 -0
  56. data/docs/SleeperRb/Utilities.html +99 -0
  57. data/docs/SleeperRb.html +113 -0
  58. data/docs/created.rid +38 -0
  59. data/docs/css/fonts.css +167 -0
  60. data/docs/css/rdoc.css +619 -0
  61. data/docs/fonts/Lato-Light.ttf +0 -0
  62. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  63. data/docs/fonts/Lato-Regular.ttf +0 -0
  64. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  65. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  66. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  67. data/docs/images/add.png +0 -0
  68. data/docs/images/arrow_up.png +0 -0
  69. data/docs/images/brick.png +0 -0
  70. data/docs/images/brick_link.png +0 -0
  71. data/docs/images/bug.png +0 -0
  72. data/docs/images/bullet_black.png +0 -0
  73. data/docs/images/bullet_toggle_minus.png +0 -0
  74. data/docs/images/bullet_toggle_plus.png +0 -0
  75. data/docs/images/date.png +0 -0
  76. data/docs/images/delete.png +0 -0
  77. data/docs/images/find.png +0 -0
  78. data/docs/images/loadingAnimation.gif +0 -0
  79. data/docs/images/macFFBgHack.png +0 -0
  80. data/docs/images/package.png +0 -0
  81. data/docs/images/page_green.png +0 -0
  82. data/docs/images/page_white_text.png +0 -0
  83. data/docs/images/page_white_width.png +0 -0
  84. data/docs/images/plugin.png +0 -0
  85. data/docs/images/ruby.png +0 -0
  86. data/docs/images/tag_blue.png +0 -0
  87. data/docs/images/tag_green.png +0 -0
  88. data/docs/images/transparent.png +0 -0
  89. data/docs/images/wrench.png +0 -0
  90. data/docs/images/wrench_orange.png +0 -0
  91. data/docs/images/zoom.png +0 -0
  92. data/docs/index.html +171 -0
  93. data/docs/js/darkfish.js +84 -0
  94. data/docs/js/navigation.js +105 -0
  95. data/docs/js/navigation.js.gz +0 -0
  96. data/docs/js/search.js +110 -0
  97. data/docs/js/search_index.js +1 -0
  98. data/docs/js/search_index.js.gz +0 -0
  99. data/docs/js/searcher.js +229 -0
  100. data/docs/js/searcher.js.gz +0 -0
  101. data/docs/table_of_contents.html +770 -0
  102. data/lib/sleeper_rb/client.rb +80 -0
  103. data/lib/sleeper_rb/resources/avatar.rb +43 -0
  104. data/lib/sleeper_rb/resources/draft/metadata.rb +83 -0
  105. data/lib/sleeper_rb/resources/draft/pick/metadata.rb +64 -0
  106. data/lib/sleeper_rb/resources/draft/pick.rb +85 -0
  107. data/lib/sleeper_rb/resources/draft/pick_array.rb +11 -0
  108. data/lib/sleeper_rb/resources/draft/settings.rb +73 -0
  109. data/lib/sleeper_rb/resources/draft.rb +129 -0
  110. data/lib/sleeper_rb/resources/draft_array.rb +25 -0
  111. data/lib/sleeper_rb/resources/league/matchup.rb +66 -0
  112. data/lib/sleeper_rb/resources/league/matchup_array.rb +11 -0
  113. data/lib/sleeper_rb/resources/league/roster/settings.rb +76 -0
  114. data/lib/sleeper_rb/resources/league/roster.rb +73 -0
  115. data/lib/sleeper_rb/resources/league/roster_array.rb +11 -0
  116. data/lib/sleeper_rb/resources/league/scoring_settings.rb +172 -0
  117. data/lib/sleeper_rb/resources/league/settings.rb +148 -0
  118. data/lib/sleeper_rb/resources/league/transaction/metadata.rb +22 -0
  119. data/lib/sleeper_rb/resources/league/transaction/settings.rb +22 -0
  120. data/lib/sleeper_rb/resources/league/transaction/waiver_budget.rb +52 -0
  121. data/lib/sleeper_rb/resources/league/transaction.rb +153 -0
  122. data/lib/sleeper_rb/resources/league/transaction_array.rb +43 -0
  123. data/lib/sleeper_rb/resources/league.rb +197 -0
  124. data/lib/sleeper_rb/resources/league_array.rb +41 -0
  125. data/lib/sleeper_rb/resources/nfl_state.rb +51 -0
  126. data/lib/sleeper_rb/resources/player.rb +189 -0
  127. data/lib/sleeper_rb/resources/player_array.rb +16 -0
  128. data/lib/sleeper_rb/resources/traded_pick.rb +63 -0
  129. data/lib/sleeper_rb/resources/traded_pick_array.rb +9 -0
  130. data/lib/sleeper_rb/resources/user/metadata.rb +20 -0
  131. data/lib/sleeper_rb/resources/user.rb +104 -0
  132. data/lib/sleeper_rb/resources/user_array.rb +9 -0
  133. data/lib/sleeper_rb/utilities/array_proxy.rb +47 -0
  134. data/lib/sleeper_rb/utilities/cache.rb +132 -0
  135. data/lib/sleeper_rb/utilities/request.rb +42 -0
  136. data/lib/sleeper_rb/utilities/roster_position.rb +30 -0
  137. data/lib/sleeper_rb/version.rb +5 -0
  138. data/lib/sleeper_rb.rb +15 -0
  139. data/sleeper_rb.gemspec +35 -0
  140. metadata +185 -0
@@ -0,0 +1,361 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class SleeperRb::Resources::Draft::Settings - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../../../";
11
+ var index_rel_prefix = "../../../";
12
+ </script>
13
+
14
+ <script src="../../../js/navigation.js" defer></script>
15
+ <script src="../../../js/search.js" defer></script>
16
+ <script src="../../../js/search_index.js" defer></script>
17
+ <script src="../../../js/searcher.js" defer></script>
18
+ <script src="../../../js/darkfish.js" defer></script>
19
+
20
+ <link href="../../../css/fonts.css" rel="stylesheet">
21
+ <link href="../../../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+
25
+
26
+ <body id="top" role="document" class="class">
27
+ <nav role="navigation">
28
+ <div id="project-navigation">
29
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
+ <h2>
31
+ <a href="../../../index.html" rel="home">Home</a>
32
+ </h2>
33
+
34
+ <div id="table-of-contents-navigation">
35
+ <a href="../../../table_of_contents.html#pages">Pages</a>
36
+ <a href="../../../table_of_contents.html#classes">Classes</a>
37
+ <a href="../../../table_of_contents.html#methods">Methods</a>
38
+ </div>
39
+ </div>
40
+
41
+ <div id="search-section" role="search" class="project-section initially-hidden">
42
+ <form action="#" method="get" accept-charset="utf-8">
43
+ <div id="search-field-wrapper">
44
+ <input id="search-field" role="combobox" aria-label="Search"
45
+ aria-autocomplete="list" aria-controls="search-results"
46
+ type="text" name="search" placeholder="Search" spellcheck="false"
47
+ title="Type to search, Up and Down to navigate, Enter to load">
48
+ </div>
49
+
50
+ <ul id="search-results" aria-label="Search Results"
51
+ aria-busy="false" aria-expanded="false"
52
+ aria-atomic="false" class="initially-hidden"></ul>
53
+ </form>
54
+ </div>
55
+
56
+ </div>
57
+
58
+
59
+
60
+ <div id="class-metadata">
61
+
62
+ <div id="parent-class-section" class="nav-section">
63
+ <h3>Parent</h3>
64
+
65
+
66
+ <p class="link">Object
67
+
68
+ </div>
69
+
70
+ <div id="includes-section" class="nav-section">
71
+ <h3>Included Modules</h3>
72
+
73
+ <ul class="link-list">
74
+
75
+
76
+ <li><a class="include" href="../../Utilities/Cache.html">SleeperRb::Utilities::Cache</a>
77
+
78
+
79
+ </ul>
80
+ </div>
81
+
82
+
83
+
84
+ </div>
85
+ </nav>
86
+
87
+ <main role="main" aria-labelledby="class-SleeperRb::Resources::Draft::Settings">
88
+ <h1 id="class-SleeperRb::Resources::Draft::Settings" class="class">
89
+ class SleeperRb::Resources::Draft::Settings
90
+ </h1>
91
+
92
+ <section class="description">
93
+
94
+ <p><a href="Settings.html"><code>Settings</code></a> for a given <a href="../Draft.html"><code>Draft</code></a>.</p>
95
+
96
+ </section>
97
+
98
+
99
+ <section id="5Buntitled-5D" class="documentation-section">
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <section class="attribute-method-details" class="method-section">
108
+ <header>
109
+ <h3>Attributes</h3>
110
+ </header>
111
+
112
+
113
+ <div id="attribute-i-alpha_sort" class="method-detail">
114
+ <div class="method-heading attribute-method-heading">
115
+ <span class="method-name">alpha_sort</span><span
116
+ class="attribute-access-type">[R]</span>
117
+ </div>
118
+
119
+ <div class="method-description">
120
+
121
+
122
+
123
+ </div>
124
+ </div>
125
+
126
+ <div id="attribute-i-budget" class="method-detail">
127
+ <div class="method-heading attribute-method-heading">
128
+ <span class="method-name">budget</span><span
129
+ class="attribute-access-type">[R]</span>
130
+ </div>
131
+
132
+ <div class="method-description">
133
+
134
+
135
+
136
+ </div>
137
+ </div>
138
+
139
+ <div id="attribute-i-cpu_autopick" class="method-detail">
140
+ <div class="method-heading attribute-method-heading">
141
+ <span class="method-name">cpu_autopick</span><span
142
+ class="attribute-access-type">[R]</span>
143
+ </div>
144
+
145
+ <div class="method-description">
146
+
147
+
148
+
149
+ </div>
150
+ </div>
151
+
152
+ <div id="attribute-i-enforce_position_limits" class="method-detail">
153
+ <div class="method-heading attribute-method-heading">
154
+ <span class="method-name">enforce_position_limits</span><span
155
+ class="attribute-access-type">[R]</span>
156
+ </div>
157
+
158
+ <div class="method-description">
159
+
160
+
161
+
162
+ </div>
163
+ </div>
164
+
165
+ <div id="attribute-i-nomination_timer" class="method-detail">
166
+ <div class="method-heading attribute-method-heading">
167
+ <span class="method-name">nomination_timer</span><span
168
+ class="attribute-access-type">[R]</span>
169
+ </div>
170
+
171
+ <div class="method-description">
172
+
173
+
174
+
175
+ </div>
176
+ </div>
177
+
178
+ <div id="attribute-i-pick_time" class="method-detail">
179
+ <div class="method-heading attribute-method-heading">
180
+ <span class="method-name">pick_time</span><span
181
+ class="attribute-access-type">[R]</span>
182
+ </div>
183
+
184
+ <div class="method-description">
185
+
186
+
187
+
188
+ </div>
189
+ </div>
190
+
191
+ <div id="attribute-i-player_type" class="method-detail">
192
+ <div class="method-heading attribute-method-heading">
193
+ <span class="method-name">player_type</span><span
194
+ class="attribute-access-type">[R]</span>
195
+ </div>
196
+
197
+ <div class="method-description">
198
+
199
+
200
+
201
+ </div>
202
+ </div>
203
+
204
+ <div id="attribute-i-reversal_round" class="method-detail">
205
+ <div class="method-heading attribute-method-heading">
206
+ <span class="method-name">reversal_round</span><span
207
+ class="attribute-access-type">[R]</span>
208
+ </div>
209
+
210
+ <div class="method-description">
211
+
212
+
213
+
214
+ </div>
215
+ </div>
216
+
217
+ <div id="attribute-i-rounds" class="method-detail">
218
+ <div class="method-heading attribute-method-heading">
219
+ <span class="method-name">rounds</span><span
220
+ class="attribute-access-type">[R]</span>
221
+ </div>
222
+
223
+ <div class="method-description">
224
+
225
+
226
+
227
+ </div>
228
+ </div>
229
+
230
+ <div id="attribute-i-slots_dbn" class="method-detail">
231
+ <div class="method-heading attribute-method-heading">
232
+ <span class="method-name">slots_dbn</span><span
233
+ class="attribute-access-type">[R]</span>
234
+ </div>
235
+
236
+ <div class="method-description">
237
+
238
+
239
+
240
+ </div>
241
+ </div>
242
+
243
+ <div id="attribute-i-slots_def" class="method-detail">
244
+ <div class="method-heading attribute-method-heading">
245
+ <span class="method-name">slots_def</span><span
246
+ class="attribute-access-type">[R]</span>
247
+ </div>
248
+
249
+ <div class="method-description">
250
+
251
+
252
+
253
+ </div>
254
+ </div>
255
+
256
+ <div id="attribute-i-slots_flex" class="method-detail">
257
+ <div class="method-heading attribute-method-heading">
258
+ <span class="method-name">slots_flex</span><span
259
+ class="attribute-access-type">[R]</span>
260
+ </div>
261
+
262
+ <div class="method-description">
263
+
264
+
265
+
266
+ </div>
267
+ </div>
268
+
269
+ <div id="attribute-i-slots_k" class="method-detail">
270
+ <div class="method-heading attribute-method-heading">
271
+ <span class="method-name">slots_k</span><span
272
+ class="attribute-access-type">[R]</span>
273
+ </div>
274
+
275
+ <div class="method-description">
276
+
277
+
278
+
279
+ </div>
280
+ </div>
281
+
282
+ <div id="attribute-i-slots_qb" class="method-detail">
283
+ <div class="method-heading attribute-method-heading">
284
+ <span class="method-name">slots_qb</span><span
285
+ class="attribute-access-type">[R]</span>
286
+ </div>
287
+
288
+ <div class="method-description">
289
+
290
+
291
+
292
+ </div>
293
+ </div>
294
+
295
+ <div id="attribute-i-slots_rb" class="method-detail">
296
+ <div class="method-heading attribute-method-heading">
297
+ <span class="method-name">slots_rb</span><span
298
+ class="attribute-access-type">[R]</span>
299
+ </div>
300
+
301
+ <div class="method-description">
302
+
303
+
304
+
305
+ </div>
306
+ </div>
307
+
308
+ <div id="attribute-i-slots_te" class="method-detail">
309
+ <div class="method-heading attribute-method-heading">
310
+ <span class="method-name">slots_te</span><span
311
+ class="attribute-access-type">[R]</span>
312
+ </div>
313
+
314
+ <div class="method-description">
315
+
316
+
317
+
318
+ </div>
319
+ </div>
320
+
321
+ <div id="attribute-i-slots_wr" class="method-detail">
322
+ <div class="method-heading attribute-method-heading">
323
+ <span class="method-name">slots_wr</span><span
324
+ class="attribute-access-type">[R]</span>
325
+ </div>
326
+
327
+ <div class="method-description">
328
+
329
+
330
+
331
+ </div>
332
+ </div>
333
+
334
+ <div id="attribute-i-teams" class="method-detail">
335
+ <div class="method-heading attribute-method-heading">
336
+ <span class="method-name">teams</span><span
337
+ class="attribute-access-type">[R]</span>
338
+ </div>
339
+
340
+ <div class="method-description">
341
+
342
+
343
+
344
+ </div>
345
+ </div>
346
+
347
+ </section>
348
+
349
+
350
+
351
+ </section>
352
+
353
+ </main>
354
+
355
+
356
+ <footer id="validator-badges" role="contentinfo">
357
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
358
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
359
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
360
+ </footer>
361
+