repository-base 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +27 -0
  5. data/.travis.yml +6 -0
  6. data/.yardopts +1 -0
  7. data/CHANGELOG.md +128 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE +22 -0
  10. data/README.md +132 -0
  11. data/Rakefile +33 -0
  12. data/bin/bundle +105 -0
  13. data/bin/htmldiff +29 -0
  14. data/bin/kramdown +29 -0
  15. data/bin/ldiff +29 -0
  16. data/bin/rake +29 -0
  17. data/bin/rspec +29 -0
  18. data/bin/rubocop +29 -0
  19. data/bin/ruby-parse +29 -0
  20. data/bin/ruby-rewrite +29 -0
  21. data/bin/setup +43 -0
  22. data/bin/yard +29 -0
  23. data/bin/yardoc +29 -0
  24. data/bin/yri +29 -0
  25. data/doc/Repository.html +128 -0
  26. data/doc/Repository/Base.html +1248 -0
  27. data/doc/Repository/Base/Internals.html +133 -0
  28. data/doc/Repository/Base/Internals/RecordDeleter.html +687 -0
  29. data/doc/Repository/Base/Internals/RecordSaver.html +816 -0
  30. data/doc/Repository/Base/Internals/RecordUpdater.html +1026 -0
  31. data/doc/Repository/Base/Internals/SlugFinder.html +986 -0
  32. data/doc/_index.html +176 -0
  33. data/doc/class_list.html +51 -0
  34. data/doc/css/common.css +1 -0
  35. data/doc/css/full_list.css +58 -0
  36. data/doc/css/style.css +499 -0
  37. data/doc/file.CHANGELOG.html +240 -0
  38. data/doc/file.README.html +218 -0
  39. data/doc/file_list.html +61 -0
  40. data/doc/frames.html +17 -0
  41. data/doc/index.html +218 -0
  42. data/doc/js/app.js +248 -0
  43. data/doc/js/full_list.js +216 -0
  44. data/doc/js/jquery.js +4 -0
  45. data/doc/method_list.html +363 -0
  46. data/doc/top-level-namespace.html +110 -0
  47. data/lib/repository/base.rb +115 -0
  48. data/lib/repository/base/internals/internals.rb +6 -0
  49. data/lib/repository/base/internals/record_deleter.rb +46 -0
  50. data/lib/repository/base/internals/record_saver.rb +58 -0
  51. data/lib/repository/base/internals/record_updater.rb +54 -0
  52. data/lib/repository/base/internals/slug_finder.rb +70 -0
  53. data/lib/repository/base/version.rb +12 -0
  54. data/repository-base.gemspec +37 -0
  55. data/spec/repository/base_spec.rb +398 -0
  56. data/spec/spec_helper.rb +14 -0
  57. metadata +281 -0
@@ -0,0 +1,816 @@
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: Repository::Base::Internals::RecordSaver
8
+
9
+ &mdash; Documentation by YARD 0.9.12
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 = "Repository::Base::Internals::RecordSaver";
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?1"></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 (R)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../../Repository.html" title="Repository (module)">Repository</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Base.html" title="Repository::Base (class)">Base</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Internals.html" title="Repository::Base::Internals (module)">Internals</a></span></span>
41
+ &raquo;
42
+ <span class="title">RecordSaver</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
+ <div id="content"><h1>Class: Repository::Base::Internals::RecordSaver
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">Repository::Base::Internals::RecordSaver</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <dl>
91
+ <dt>Includes:</dt>
92
+ <dd>Support</dd>
93
+ </dl>
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dl>
101
+ <dt>Defined in:</dt>
102
+ <dd>lib/repository/base/internals/record_saver.rb</dd>
103
+ </dl>
104
+
105
+ </div>
106
+
107
+ <h2>Overview</h2><div class="docstring">
108
+ <div class="discussion">
109
+
110
+ <p>Reports on the success or failure of saving a *DAO record*, using the
111
+ `Repository::Support::StoreResult` instance returned from `#result`.</p>
112
+
113
+
114
+ </div>
115
+ </div>
116
+ <div class="tags">
117
+
118
+ <p class="tag_title">Since:</p>
119
+ <ul class="since">
120
+
121
+ <li>
122
+
123
+
124
+
125
+
126
+
127
+ <div class='inline'>
128
+ <p>0.0.1</p>
129
+ </div>
130
+
131
+ </li>
132
+
133
+ </ul>
134
+
135
+ </div>
136
+
137
+
138
+
139
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
140
+ <ul class="summary">
141
+
142
+ <li class="private ">
143
+ <span class="summary_signature">
144
+
145
+ <a href="#factory-instance_method" title="#factory (instance method)">#<strong>factory</strong> &#x21d2; Object </a>
146
+
147
+
148
+
149
+ </span>
150
+
151
+
152
+
153
+
154
+ <span class="note title readonly">readonly</span>
155
+
156
+
157
+
158
+ <span class="note title private">private</span>
159
+
160
+
161
+
162
+
163
+
164
+ <span class="summary_desc"><div class='inline'></div></span>
165
+
166
+ </li>
167
+
168
+
169
+ <li class="private ">
170
+ <span class="summary_signature">
171
+
172
+ <a href="#record-instance_method" title="#record (instance method)">#<strong>record</strong> &#x21d2; Object </a>
173
+
174
+
175
+
176
+ </span>
177
+
178
+
179
+
180
+
181
+ <span class="note title readonly">readonly</span>
182
+
183
+
184
+
185
+ <span class="note title private">private</span>
186
+
187
+
188
+
189
+
190
+
191
+ <span class="summary_desc"><div class='inline'></div></span>
192
+
193
+ </li>
194
+
195
+
196
+ </ul>
197
+
198
+
199
+
200
+
201
+
202
+ <h2>
203
+ Instance Method Summary
204
+ <small><a href="#" class="summary_toggle">collapse</a></small>
205
+ </h2>
206
+
207
+ <ul class="summary">
208
+
209
+ <li class="private ">
210
+ <span class="summary_signature">
211
+
212
+ <a href="#error_hashes-instance_method" title="#error_hashes (instance method)">#<strong>error_hashes</strong> &#x21d2; Object </a>
213
+
214
+
215
+
216
+ </span>
217
+
218
+
219
+
220
+ <span class="note title private">private</span>
221
+
222
+
223
+
224
+
225
+
226
+ <span class="summary_desc"><div class='inline'>
227
+ <p>Represent error data sourced from an `ActiveModel::Errors` object as an
228
+ Array of `&#39;field&#39;, message: &#39;message&#39;` hashes.</p>
229
+ </div></span>
230
+
231
+ </li>
232
+
233
+
234
+ <li class="private ">
235
+ <span class="summary_signature">
236
+
237
+ <a href="#failed_result-instance_method" title="#failed_result (instance method)">#<strong>failed_result</strong> &#x21d2; Object </a>
238
+
239
+
240
+
241
+ </span>
242
+
243
+
244
+
245
+ <span class="note title private">private</span>
246
+
247
+
248
+
249
+
250
+
251
+ <span class="summary_desc"><div class='inline'></div></span>
252
+
253
+ </li>
254
+
255
+
256
+ <li class="public ">
257
+ <span class="summary_signature">
258
+
259
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(record:, factory:) &#x21d2; RecordSaver </a>
260
+
261
+
262
+
263
+ </span>
264
+
265
+
266
+ <span class="note title constructor">constructor</span>
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+ <span class="summary_desc"><div class='inline'>
276
+ <p>Sets instance variable(s) on a new `RecordSaver` instanace.</p>
277
+ </div></span>
278
+
279
+ </li>
280
+
281
+
282
+ <li class="public ">
283
+ <span class="summary_signature">
284
+
285
+ <a href="#result-instance_method" title="#result (instance method)">#<strong>result</strong> &#x21d2; Object </a>
286
+
287
+
288
+
289
+ </span>
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+ <span class="summary_desc"><div class='inline'>
300
+ <p>Command-pattern method returning indication of success or failure of
301
+ attempt to save record.</p>
302
+ </div></span>
303
+
304
+ </li>
305
+
306
+
307
+ <li class="private ">
308
+ <span class="summary_signature">
309
+
310
+ <a href="#successful_result-instance_method" title="#successful_result (instance method)">#<strong>successful_result</strong> &#x21d2; Object </a>
311
+
312
+
313
+
314
+ </span>
315
+
316
+
317
+
318
+ <span class="note title private">private</span>
319
+
320
+
321
+
322
+
323
+
324
+ <span class="summary_desc"><div class='inline'></div></span>
325
+
326
+ </li>
327
+
328
+
329
+ </ul>
330
+
331
+
332
+
333
+ <div id="constructor_details" class="method_details_list">
334
+ <h2>Constructor Details</h2>
335
+
336
+ <div class="method_details first">
337
+ <h3 class="signature first" id="initialize-instance_method">
338
+
339
+ #<strong>initialize</strong>(record:, factory:) &#x21d2; <tt><span class='object_link'><a href="" title="Repository::Base::Internals::RecordSaver (class)">RecordSaver</a></span></tt>
340
+
341
+
342
+
343
+
344
+
345
+ </h3><div class="docstring">
346
+ <div class="discussion">
347
+
348
+ <p>Sets instance variable(s) on a new `RecordSaver` instanace.</p>
349
+
350
+
351
+ </div>
352
+ </div>
353
+ <div class="tags">
354
+ <p class="tag_title">Parameters:</p>
355
+ <ul class="param">
356
+
357
+ <li>
358
+
359
+ <span class='name'>record</span>
360
+
361
+
362
+ <span class='type'></span>
363
+
364
+
365
+
366
+ &mdash;
367
+ <div class='inline'>
368
+ <p>DAO record to attempt to save.</p>
369
+ </div>
370
+
371
+ </li>
372
+
373
+ </ul>
374
+
375
+ <p class="tag_title">Since:</p>
376
+ <ul class="since">
377
+
378
+ <li>
379
+
380
+
381
+
382
+
383
+
384
+ <div class='inline'>
385
+ <p>0.0.1</p>
386
+ </div>
387
+
388
+ </li>
389
+
390
+ </ul>
391
+
392
+ </div><table class="source_code">
393
+ <tr>
394
+ <td>
395
+ <pre class="lines">
396
+
397
+
398
+ 19
399
+ 20
400
+ 21
401
+ 22</pre>
402
+ </td>
403
+ <td>
404
+ <pre class="code"><span class="info file"># File 'lib/repository/base/internals/record_saver.rb', line 19</span>
405
+
406
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>record:</span><span class='comma'>,</span> <span class='label'>factory:</span><span class='rparen'>)</span>
407
+ <span class='ivar'>@record</span> <span class='op'>=</span> <span class='id identifier rubyid_record'>record</span>
408
+ <span class='ivar'>@factory</span> <span class='op'>=</span> <span class='id identifier rubyid_factory'>factory</span>
409
+ <span class='kw'>end</span></pre>
410
+ </td>
411
+ </tr>
412
+ </table>
413
+ </div>
414
+
415
+ </div>
416
+
417
+ <div id="instance_attr_details" class="attr_details">
418
+ <h2>Instance Attribute Details</h2>
419
+
420
+
421
+ <span id=""></span>
422
+ <div class="method_details first">
423
+ <h3 class="signature first" id="factory-instance_method">
424
+
425
+ #<strong>factory</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly, private)</span>
426
+
427
+
428
+
429
+
430
+
431
+ </h3><div class="docstring">
432
+ <div class="discussion">
433
+
434
+
435
+ </div>
436
+ </div>
437
+ <div class="tags">
438
+
439
+ <p class="tag_title">Since:</p>
440
+ <ul class="since">
441
+
442
+ <li>
443
+
444
+
445
+
446
+
447
+
448
+ <div class='inline'>
449
+ <p>0.0.1</p>
450
+ </div>
451
+
452
+ </li>
453
+
454
+ </ul>
455
+
456
+ </div><table class="source_code">
457
+ <tr>
458
+ <td>
459
+ <pre class="lines">
460
+
461
+
462
+ 39
463
+ 40
464
+ 41</pre>
465
+ </td>
466
+ <td>
467
+ <pre class="code"><span class="info file"># File 'lib/repository/base/internals/record_saver.rb', line 39</span>
468
+
469
+ <span class='kw'>def</span> <span class='id identifier rubyid_factory'>factory</span>
470
+ <span class='ivar'>@factory</span>
471
+ <span class='kw'>end</span></pre>
472
+ </td>
473
+ </tr>
474
+ </table>
475
+ </div>
476
+
477
+
478
+ <span id=""></span>
479
+ <div class="method_details ">
480
+ <h3 class="signature " id="record-instance_method">
481
+
482
+ #<strong>record</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly, private)</span>
483
+
484
+
485
+
486
+
487
+
488
+ </h3><div class="docstring">
489
+ <div class="discussion">
490
+
491
+
492
+ </div>
493
+ </div>
494
+ <div class="tags">
495
+
496
+ <p class="tag_title">Since:</p>
497
+ <ul class="since">
498
+
499
+ <li>
500
+
501
+
502
+
503
+
504
+
505
+ <div class='inline'>
506
+ <p>0.0.1</p>
507
+ </div>
508
+
509
+ </li>
510
+
511
+ </ul>
512
+
513
+ </div><table class="source_code">
514
+ <tr>
515
+ <td>
516
+ <pre class="lines">
517
+
518
+
519
+ 39
520
+ 40
521
+ 41</pre>
522
+ </td>
523
+ <td>
524
+ <pre class="code"><span class="info file"># File 'lib/repository/base/internals/record_saver.rb', line 39</span>
525
+
526
+ <span class='kw'>def</span> <span class='id identifier rubyid_record'>record</span>
527
+ <span class='ivar'>@record</span>
528
+ <span class='kw'>end</span></pre>
529
+ </td>
530
+ </tr>
531
+ </table>
532
+ </div>
533
+
534
+ </div>
535
+
536
+
537
+ <div id="instance_method_details" class="method_details_list">
538
+ <h2>Instance Method Details</h2>
539
+
540
+
541
+ <div class="method_details first">
542
+ <h3 class="signature first" id="error_hashes-instance_method">
543
+
544
+ #<strong>error_hashes</strong> &#x21d2; <tt>Object</tt> <span class="extras">(private)</span>
545
+
546
+
547
+
548
+
549
+
550
+ </h3><div class="docstring">
551
+ <div class="discussion">
552
+
553
+ <p>Represent error data sourced from an `ActiveModel::Errors` object as an
554
+ Array of `&#39;field&#39;, message: &#39;message&#39;` hashes.</p>
555
+
556
+
557
+ </div>
558
+ </div>
559
+ <div class="tags">
560
+
561
+ <p class="tag_title">Since:</p>
562
+ <ul class="since">
563
+
564
+ <li>
565
+
566
+
567
+
568
+
569
+
570
+ <div class='inline'>
571
+ <p>0.0.1</p>
572
+ </div>
573
+
574
+ </li>
575
+
576
+ </ul>
577
+
578
+ </div><table class="source_code">
579
+ <tr>
580
+ <td>
581
+ <pre class="lines">
582
+
583
+
584
+ 43
585
+ 44
586
+ 45</pre>
587
+ </td>
588
+ <td>
589
+ <pre class="code"><span class="info file"># File 'lib/repository/base/internals/record_saver.rb', line 43</span>
590
+
591
+ <span class='kw'>def</span> <span class='id identifier rubyid_error_hashes'>error_hashes</span>
592
+ <span class='const'>ErrorFactory</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span> <span class='id identifier rubyid_record'>record</span><span class='period'>.</span><span class='id identifier rubyid_errors'>errors</span>
593
+ <span class='kw'>end</span></pre>
594
+ </td>
595
+ </tr>
596
+ </table>
597
+ </div>
598
+
599
+ <div class="method_details ">
600
+ <h3 class="signature " id="failed_result-instance_method">
601
+
602
+ #<strong>failed_result</strong> &#x21d2; <tt>Object</tt> <span class="extras">(private)</span>
603
+
604
+
605
+
606
+
607
+
608
+ </h3><div class="docstring">
609
+ <div class="discussion">
610
+
611
+
612
+ </div>
613
+ </div>
614
+ <div class="tags">
615
+
616
+ <p class="tag_title">Since:</p>
617
+ <ul class="since">
618
+
619
+ <li>
620
+
621
+
622
+
623
+
624
+
625
+ <div class='inline'>
626
+ <p>0.0.1</p>
627
+ </div>
628
+
629
+ </li>
630
+
631
+ </ul>
632
+
633
+ </div><table class="source_code">
634
+ <tr>
635
+ <td>
636
+ <pre class="lines">
637
+
638
+
639
+ 47
640
+ 48
641
+ 49</pre>
642
+ </td>
643
+ <td>
644
+ <pre class="code"><span class="info file"># File 'lib/repository/base/internals/record_saver.rb', line 47</span>
645
+
646
+ <span class='kw'>def</span> <span class='id identifier rubyid_failed_result'>failed_result</span>
647
+ <span class='const'>StoreResult</span><span class='op'>::</span><span class='const'>Failure</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_error_hashes'>error_hashes</span>
648
+ <span class='kw'>end</span></pre>
649
+ </td>
650
+ </tr>
651
+ </table>
652
+ </div>
653
+
654
+ <div class="method_details ">
655
+ <h3 class="signature " id="result-instance_method">
656
+
657
+ #<strong>result</strong> &#x21d2; <tt>Object</tt>
658
+
659
+
660
+
661
+
662
+
663
+ </h3><div class="docstring">
664
+ <div class="discussion">
665
+
666
+ <p>Command-pattern method returning indication of success or failure of
667
+ attempt to save record.</p>
668
+
669
+
670
+ </div>
671
+ </div>
672
+ <div class="tags">
673
+
674
+ <p class="tag_title">Returns:</p>
675
+ <ul class="return">
676
+
677
+ <li>
678
+
679
+
680
+ <span class='type'></span>
681
+
682
+
683
+
684
+
685
+ <div class='inline'>
686
+ <p>Repository::Support::StoreResult</p>
687
+ </div>
688
+
689
+ </li>
690
+
691
+ </ul>
692
+
693
+ <p class="tag_title">See Also:</p>
694
+ <ul class="see">
695
+
696
+ <li><span class='object_link'><a href="#failed_result-instance_method" title="Repository::Base::Internals::RecordSaver#failed_result (method)">#failed_result</a></span></li>
697
+
698
+ <li><span class='object_link'><a href="#successful_result-instance_method" title="Repository::Base::Internals::RecordSaver#successful_result (method)">#successful_result</a></span></li>
699
+
700
+ </ul>
701
+ <p class="tag_title">Since:</p>
702
+ <ul class="since">
703
+
704
+ <li>
705
+
706
+
707
+
708
+
709
+
710
+ <div class='inline'>
711
+ <p>0.0.1</p>
712
+ </div>
713
+
714
+ </li>
715
+
716
+ </ul>
717
+
718
+ </div><table class="source_code">
719
+ <tr>
720
+ <td>
721
+ <pre class="lines">
722
+
723
+
724
+ 29
725
+ 30
726
+ 31
727
+ 32
728
+ 33
729
+ 34
730
+ 35</pre>
731
+ </td>
732
+ <td>
733
+ <pre class="code"><span class="info file"># File 'lib/repository/base/internals/record_saver.rb', line 29</span>
734
+
735
+ <span class='kw'>def</span> <span class='id identifier rubyid_result'>result</span>
736
+ <span class='kw'>if</span> <span class='id identifier rubyid_record'>record</span><span class='period'>.</span><span class='id identifier rubyid_save'>save</span>
737
+ <span class='id identifier rubyid_successful_result'>successful_result</span>
738
+ <span class='kw'>else</span>
739
+ <span class='id identifier rubyid_failed_result'>failed_result</span>
740
+ <span class='kw'>end</span>
741
+ <span class='kw'>end</span></pre>
742
+ </td>
743
+ </tr>
744
+ </table>
745
+ </div>
746
+
747
+ <div class="method_details ">
748
+ <h3 class="signature " id="successful_result-instance_method">
749
+
750
+ #<strong>successful_result</strong> &#x21d2; <tt>Object</tt> <span class="extras">(private)</span>
751
+
752
+
753
+
754
+
755
+
756
+ </h3><div class="docstring">
757
+ <div class="discussion">
758
+
759
+
760
+ </div>
761
+ </div>
762
+ <div class="tags">
763
+
764
+ <p class="tag_title">Since:</p>
765
+ <ul class="since">
766
+
767
+ <li>
768
+
769
+
770
+
771
+
772
+
773
+ <div class='inline'>
774
+ <p>0.0.1</p>
775
+ </div>
776
+
777
+ </li>
778
+
779
+ </ul>
780
+
781
+ </div><table class="source_code">
782
+ <tr>
783
+ <td>
784
+ <pre class="lines">
785
+
786
+
787
+ 51
788
+ 52
789
+ 53
790
+ 54</pre>
791
+ </td>
792
+ <td>
793
+ <pre class="code"><span class="info file"># File 'lib/repository/base/internals/record_saver.rb', line 51</span>
794
+
795
+ <span class='kw'>def</span> <span class='id identifier rubyid_successful_result'>successful_result</span>
796
+ <span class='id identifier rubyid_entity'>entity</span> <span class='op'>=</span> <span class='id identifier rubyid_factory'>factory</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span> <span class='id identifier rubyid_record'>record</span>
797
+ <span class='const'>StoreResult</span><span class='op'>::</span><span class='const'>Success</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_entity'>entity</span>
798
+ <span class='kw'>end</span></pre>
799
+ </td>
800
+ </tr>
801
+ </table>
802
+ </div>
803
+
804
+ </div>
805
+
806
+ </div>
807
+
808
+ <div id="footer">
809
+ Generated on Sat Feb 3 03:00:18 2018 by
810
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
811
+ 0.9.12 (ruby-2.5.0).
812
+ </div>
813
+
814
+ </div>
815
+ </body>
816
+ </html>