moxiworks_platform 0.13.15 → 0.13.16

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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -1
  3. data/Gemfile +2 -0
  4. data/lib/moxiworks_platform/action_log.rb +31 -2
  5. data/lib/moxiworks_platform/company.rb +0 -3
  6. data/lib/moxiworks_platform/contact.rb +5 -6
  7. data/lib/moxiworks_platform/listing.rb +11 -1
  8. data/lib/moxiworks_platform/version.rb +1 -1
  9. data/publish_docs.sh +7 -2
  10. metadata +2 -28
  11. data/MoxiworksPlatform/ActionLog.html +0 -1155
  12. data/MoxiworksPlatform/Agent.html +0 -3668
  13. data/MoxiworksPlatform/Brand.html +0 -2897
  14. data/MoxiworksPlatform/BuyerTransaction.html +0 -4703
  15. data/MoxiworksPlatform/Company.html +0 -678
  16. data/MoxiworksPlatform/Config.html +0 -323
  17. data/MoxiworksPlatform/Contact.html +0 -7540
  18. data/MoxiworksPlatform/Credentials.html +0 -1078
  19. data/MoxiworksPlatform/EmailCampaign.html +0 -1076
  20. data/MoxiworksPlatform/Event.html +0 -2987
  21. data/MoxiworksPlatform/Exception.html +0 -117
  22. data/MoxiworksPlatform/Exception/ArgumentError.html +0 -146
  23. data/MoxiworksPlatform/Exception/AuthorizationError.html +0 -134
  24. data/MoxiworksPlatform/Exception/PlatformError.html +0 -141
  25. data/MoxiworksPlatform/Exception/RemoteRequestFailure.html +0 -134
  26. data/MoxiworksPlatform/Gallery.html +0 -877
  27. data/MoxiworksPlatform/Group.html +0 -941
  28. data/MoxiworksPlatform/Listing.html +0 -6242
  29. data/MoxiworksPlatform/Office.html +0 -2144
  30. data/MoxiworksPlatform/PresentationLog.html +0 -1715
  31. data/MoxiworksPlatform/Resource.html +0 -1906
  32. data/MoxiworksPlatform/SellerTransaction.html +0 -4222
  33. data/MoxiworksPlatform/Session.html +0 -209
  34. data/MoxiworksPlatform/SoldListing.html +0 -5606
  35. data/MoxiworksPlatform/Task.html +0 -2351
  36. data/MoxiworksPlatform/Team.html +0 -2147
@@ -1,1715 +0,0 @@
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: MoxiworksPlatform::PresentationLog
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 = "MoxiworksPlatform::PresentationLog";
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 (P)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../MoxiworksPlatform.html" title="MoxiworksPlatform (module)">MoxiworksPlatform</a></span></span>
41
- &raquo;
42
- <span class="title">PresentationLog</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: MoxiworksPlatform::PresentationLog
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="Resource.html" title="MoxiworksPlatform::Resource (class)">Resource</a></span></span>
75
-
76
- <ul class="fullTree">
77
- <li>Object</li>
78
-
79
- <li class="next"><span class='object_link'><a href="Resource.html" title="MoxiworksPlatform::Resource (class)">Resource</a></span></li>
80
-
81
- <li class="next">MoxiworksPlatform::PresentationLog</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/moxiworks_platform/presentation_log.rb</dd>
102
- </dl>
103
-
104
- </div>
105
-
106
- <h2>Overview</h2><div class="docstring">
107
- <div class="discussion">
108
-
109
- <h1 id="label-Moxi+Works+Platform+PresentationLog">Moxi Works Platform PresentationLog</h1>
110
-
111
-
112
- </div>
113
- </div>
114
- <div class="tags">
115
-
116
-
117
- </div>
118
-
119
-
120
-
121
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
122
- <ul class="summary">
123
-
124
- <li class="public ">
125
- <span class="summary_signature">
126
-
127
- <a href="#agent_fname-instance_method" title="#agent_fname (instance method)">#<strong>agent_fname</strong> &#x21d2; string </a>
128
-
129
-
130
-
131
- </span>
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
- <span class="summary_desc"><div class='inline'>
145
- <p>First name of agent.</p>
146
- </div></span>
147
-
148
- </li>
149
-
150
-
151
- <li class="public ">
152
- <span class="summary_signature">
153
-
154
- <a href="#agent_lname-instance_method" title="#agent_lname (instance method)">#<strong>agent_lname</strong> &#x21d2; string </a>
155
-
156
-
157
-
158
- </span>
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
- <span class="summary_desc"><div class='inline'>
172
- <p>Last name of agent.</p>
173
- </div></span>
174
-
175
- </li>
176
-
177
-
178
- <li class="public ">
179
- <span class="summary_signature">
180
-
181
- <a href="#agent_office_id-instance_method" title="#agent_office_id (instance method)">#<strong>agent_office_id</strong> &#x21d2; string </a>
182
-
183
-
184
-
185
- </span>
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
- <span class="summary_desc"><div class='inline'>
199
- <p>This is the ID of the office for the Agent associated with the
200
- presentation.</p>
201
- </div></span>
202
-
203
- </li>
204
-
205
-
206
- <li class="public ">
207
- <span class="summary_signature">
208
-
209
- <a href="#agent_uuid-instance_method" title="#agent_uuid (instance method)">#<strong>agent_uuid</strong> &#x21d2; string </a>
210
-
211
-
212
-
213
- </span>
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
- <span class="summary_desc"><div class='inline'>
227
- <p>This is the Moxi Works Platform ID of the presentation_log which an
228
- ActionLog entry is associated with.</p>
229
- </div></span>
230
-
231
- </li>
232
-
233
-
234
- <li class="public ">
235
- <span class="summary_signature">
236
-
237
- <a href="#created-instance_method" title="#created (instance method)">#<strong>created</strong> &#x21d2; string </a>
238
-
239
-
240
-
241
- </span>
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
-
254
- <span class="summary_desc"><div class='inline'>
255
- <p>This is the Unix timestamp for the creation time of the presentation.</p>
256
- </div></span>
257
-
258
- </li>
259
-
260
-
261
- <li class="public ">
262
- <span class="summary_signature">
263
-
264
- <a href="#edited-instance_method" title="#edited (instance method)">#<strong>edited</strong> &#x21d2; string </a>
265
-
266
-
267
-
268
- </span>
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
- <span class="summary_desc"><div class='inline'>
282
- <p>This is the Unix timestamp for the last time the presentation was edited.</p>
283
- </div></span>
284
-
285
- </li>
286
-
287
-
288
- <li class="public ">
289
- <span class="summary_signature">
290
-
291
- <a href="#external_identifier-instance_method" title="#external_identifier (instance method)">#<strong>external_identifier</strong> &#x21d2; string </a>
292
-
293
-
294
-
295
- </span>
296
-
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
- <span class="summary_desc"><div class='inline'>
309
- <p>This is the ID of the Agent utilized by their company.</p>
310
- </div></span>
311
-
312
- </li>
313
-
314
-
315
- <li class="public ">
316
- <span class="summary_signature">
317
-
318
- <a href="#external_office_id-instance_method" title="#external_office_id (instance method)">#<strong>external_office_id</strong> &#x21d2; string </a>
319
-
320
-
321
-
322
- </span>
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
- <span class="summary_desc"><div class='inline'>
336
- <p>This is the ID of the office for this Agent utilized by their company.</p>
337
- </div></span>
338
-
339
- </li>
340
-
341
-
342
- <li class="public ">
343
- <span class="summary_signature">
344
-
345
- <a href="#moxi_works_presentation_id-instance_method" title="#moxi_works_presentation_id (instance method)">#<strong>moxi_works_presentation_id</strong> &#x21d2; string </a>
346
-
347
-
348
-
349
- </span>
350
-
351
-
352
-
353
-
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
-
362
- <span class="summary_desc"><div class='inline'>
363
- <p>The unique UUID of the presentation.</p>
364
- </div></span>
365
-
366
- </li>
367
-
368
-
369
- <li class="public ">
370
- <span class="summary_signature">
371
-
372
- <a href="#pdf_requested-instance_method" title="#pdf_requested (instance method)">#<strong>pdf_requested</strong> &#x21d2; string </a>
373
-
374
-
375
-
376
- </span>
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
- <span class="summary_desc"><div class='inline'>
390
- <p>The number of PDF documents requested.</p>
391
- </div></span>
392
-
393
- </li>
394
-
395
-
396
- <li class="public ">
397
- <span class="summary_signature">
398
-
399
- <a href="#pres_requested-instance_method" title="#pres_requested (instance method)">#<strong>pres_requested</strong> &#x21d2; string </a>
400
-
401
-
402
-
403
- </span>
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
- <span class="summary_desc"><div class='inline'>
417
- <p>The number of Online presentations requested.</p>
418
- </div></span>
419
-
420
- </li>
421
-
422
-
423
- <li class="public ">
424
- <span class="summary_signature">
425
-
426
- <a href="#sent_by_agent-instance_method" title="#sent_by_agent (instance method)">#<strong>sent_by_agent</strong> &#x21d2; string </a>
427
-
428
-
429
-
430
- </span>
431
-
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
-
441
-
442
-
443
- <span class="summary_desc"><div class='inline'>
444
- <p>The UUID of the agent that sent the presentation to the client.</p>
445
- </div></span>
446
-
447
- </li>
448
-
449
-
450
- <li class="public ">
451
- <span class="summary_signature">
452
-
453
- <a href="#title-instance_method" title="#title (instance method)">#<strong>title</strong> &#x21d2; string </a>
454
-
455
-
456
-
457
- </span>
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
-
469
-
470
- <span class="summary_desc"><div class='inline'>
471
- <p>The title of the presentation.</p>
472
- </div></span>
473
-
474
- </li>
475
-
476
-
477
- <li class="public ">
478
- <span class="summary_signature">
479
-
480
- <a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> &#x21d2; string </a>
481
-
482
-
483
-
484
- </span>
485
-
486
-
487
-
488
-
489
-
490
-
491
-
492
-
493
-
494
-
495
-
496
-
497
- <span class="summary_desc"><div class='inline'>
498
- <p>Whether the presentation is for a buyer or seller.</p>
499
- </div></span>
500
-
501
- </li>
502
-
503
-
504
- </ul>
505
-
506
-
507
-
508
-
509
-
510
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Resource.html" title="MoxiworksPlatform::Resource (class)">Resource</a></span></h3>
511
- <p class="inherited"><span class='object_link'><a href="Resource.html#headers-instance_method" title="MoxiworksPlatform::Resource#headers (method)">#headers</a></span></p>
512
-
513
-
514
-
515
- <h2>
516
- Class Method Summary
517
- <small><a href="#" class="summary_toggle">collapse</a></small>
518
- </h2>
519
-
520
- <ul class="summary">
521
-
522
- <li class="public ">
523
- <span class="summary_signature">
524
-
525
- <a href="#search-class_method" title="search (class method)">.<strong>search</strong>(opts = {}) &#x21d2; Hash </a>
526
-
527
-
528
-
529
- </span>
530
-
531
-
532
-
533
-
534
-
535
-
536
-
537
-
538
-
539
- <span class="summary_desc"><div class='inline'>
540
- <p>Search For Agents in Moxi Works Platform.</p>
541
- </div></span>
542
-
543
- </li>
544
-
545
-
546
- </ul>
547
-
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Resource.html" title="MoxiworksPlatform::Resource (class)">Resource</a></span></h3>
559
- <p class="inherited"><span class='object_link'><a href="Resource.html#accept_header-class_method" title="MoxiworksPlatform::Resource.accept_header (method)">accept_header</a></span>, <span class='object_link'><a href="Resource.html#attr_accessor-class_method" title="MoxiworksPlatform::Resource.attr_accessor (method)">attr_accessor</a></span>, <span class='object_link'><a href="Resource.html#attributes-class_method" title="MoxiworksPlatform::Resource.attributes (method)">attributes</a></span>, <span class='object_link'><a href="Resource.html#attributes-instance_method" title="MoxiworksPlatform::Resource#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="Resource.html#auth_header-class_method" title="MoxiworksPlatform::Resource.auth_header (method)">auth_header</a></span>, <span class='object_link'><a href="Resource.html#check_for_error_in_response-class_method" title="MoxiworksPlatform::Resource.check_for_error_in_response (method)">check_for_error_in_response</a></span>, <span class='object_link'><a href="Resource.html#content_type_header-class_method" title="MoxiworksPlatform::Resource.content_type_header (method)">content_type_header</a></span>, <span class='object_link'><a href="Resource.html#float_attrs-instance_method" title="MoxiworksPlatform::Resource#float_attrs (method)">#float_attrs</a></span>, <span class='object_link'><a href="Resource.html#headers-class_method" title="MoxiworksPlatform::Resource.headers (method)">headers</a></span>, <span class='object_link'><a href="Resource.html#init_attrs_from_hash-instance_method" title="MoxiworksPlatform::Resource#init_attrs_from_hash (method)">#init_attrs_from_hash</a></span>, <span class='object_link'><a href="Resource.html#initialize-instance_method" title="MoxiworksPlatform::Resource#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Resource.html#int_attrs-instance_method" title="MoxiworksPlatform::Resource#int_attrs (method)">#int_attrs</a></span>, <span class='object_link'><a href="Resource.html#method_missing-instance_method" title="MoxiworksPlatform::Resource#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="Resource.html#numeric_attrs-instance_method" title="MoxiworksPlatform::Resource#numeric_attrs (method)">#numeric_attrs</a></span>, <span class='object_link'><a href="Resource.html#numeric_value_for-instance_method" title="MoxiworksPlatform::Resource#numeric_value_for (method)">#numeric_value_for</a></span>, <span class='object_link'><a href="Resource.html#send_request-class_method" title="MoxiworksPlatform::Resource.send_request (method)">send_request</a></span>, <span class='object_link'><a href="Resource.html#to_hash-instance_method" title="MoxiworksPlatform::Resource#to_hash (method)">#to_hash</a></span>, <span class='object_link'><a href="Resource.html#underscore-class_method" title="MoxiworksPlatform::Resource.underscore (method)">underscore</a></span>, <span class='object_link'><a href="Resource.html#underscore_array-class_method" title="MoxiworksPlatform::Resource.underscore_array (method)">underscore_array</a></span>, <span class='object_link'><a href="Resource.html#underscore_attribute_names-class_method" title="MoxiworksPlatform::Resource.underscore_attribute_names (method)">underscore_attribute_names</a></span>, <span class='object_link'><a href="Resource.html#underscore_hash-class_method" title="MoxiworksPlatform::Resource.underscore_hash (method)">underscore_hash</a></span>, <span class='object_link'><a href="Resource.html#user_agent_header-class_method" title="MoxiworksPlatform::Resource.user_agent_header (method)">user_agent_header</a></span></p>
560
- <div id="constructor_details" class="method_details_list">
561
- <h2>Constructor Details</h2>
562
-
563
- <p class="notice">This class inherits a constructor from <span class='object_link'><a href="Resource.html#initialize-instance_method" title="MoxiworksPlatform::Resource#initialize (method)">MoxiworksPlatform::Resource</a></span></p>
564
-
565
- </div>
566
- <div id="method_missing_details" class="method_details_list">
567
- <h2>Dynamic Method Handling</h2>
568
- <p class="notice super">
569
- This class handles dynamic methods through the <tt>method_missing</tt> method
570
-
571
- in the class <span class='object_link'><a href="Resource.html#method_missing-instance_method" title="MoxiworksPlatform::Resource#method_missing (method)">MoxiworksPlatform::Resource</a></span>
572
-
573
- </p>
574
-
575
- </div>
576
-
577
- <div id="instance_attr_details" class="attr_details">
578
- <h2>Instance Attribute Details</h2>
579
-
580
-
581
- <span id="agent_fname=-instance_method"></span>
582
- <div class="method_details first">
583
- <h3 class="signature first" id="agent_fname-instance_method">
584
-
585
- #<strong>agent_fname</strong> &#x21d2; <tt>string</tt>
586
-
587
-
588
-
589
-
590
-
591
- </h3><div class="docstring">
592
- <div class="discussion">
593
-
594
- <p>Returns First name of agent. This can be null if there is no data for this
595
- attribute.</p>
596
-
597
-
598
- </div>
599
- </div>
600
- <div class="tags">
601
-
602
- <p class="tag_title">Returns:</p>
603
- <ul class="return">
604
-
605
- <li>
606
-
607
-
608
- <span class='type'>(<tt>string</tt>)</span>
609
-
610
-
611
-
612
- &mdash;
613
- <div class='inline'>
614
- <p>First name of agent. This can be null if there is no data for this
615
- attribute.</p>
616
- </div>
617
-
618
- </li>
619
-
620
- </ul>
621
-
622
- </div><table class="source_code">
623
- <tr>
624
- <td>
625
- <pre class="lines">
626
-
627
-
628
- 15
629
- 16
630
- 17</pre>
631
- </td>
632
- <td>
633
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 15</span>
634
-
635
- <span class='kw'>def</span> <span class='id identifier rubyid_agent_fname'>agent_fname</span>
636
- <span class='ivar'>@agent_fname</span>
637
- <span class='kw'>end</span></pre>
638
- </td>
639
- </tr>
640
- </table>
641
- </div>
642
-
643
-
644
- <span id="agent_lname=-instance_method"></span>
645
- <div class="method_details ">
646
- <h3 class="signature " id="agent_lname-instance_method">
647
-
648
- #<strong>agent_lname</strong> &#x21d2; <tt>string</tt>
649
-
650
-
651
-
652
-
653
-
654
- </h3><div class="docstring">
655
- <div class="discussion">
656
-
657
- <p>Returns Last name of agent. This can be null if there is no data for this
658
- attribute.</p>
659
-
660
-
661
- </div>
662
- </div>
663
- <div class="tags">
664
-
665
- <p class="tag_title">Returns:</p>
666
- <ul class="return">
667
-
668
- <li>
669
-
670
-
671
- <span class='type'>(<tt>string</tt>)</span>
672
-
673
-
674
-
675
- &mdash;
676
- <div class='inline'>
677
- <p>Last name of agent. This can be null if there is no data for this
678
- attribute.</p>
679
- </div>
680
-
681
- </li>
682
-
683
- </ul>
684
-
685
- </div><table class="source_code">
686
- <tr>
687
- <td>
688
- <pre class="lines">
689
-
690
-
691
- 22
692
- 23
693
- 24</pre>
694
- </td>
695
- <td>
696
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 22</span>
697
-
698
- <span class='kw'>def</span> <span class='id identifier rubyid_agent_lname'>agent_lname</span>
699
- <span class='ivar'>@agent_lname</span>
700
- <span class='kw'>end</span></pre>
701
- </td>
702
- </tr>
703
- </table>
704
- </div>
705
-
706
-
707
- <span id="agent_office_id=-instance_method"></span>
708
- <div class="method_details ">
709
- <h3 class="signature " id="agent_office_id-instance_method">
710
-
711
- #<strong>agent_office_id</strong> &#x21d2; <tt>string</tt>
712
-
713
-
714
-
715
-
716
-
717
- </h3><div class="docstring">
718
- <div class="discussion">
719
-
720
- <p>Returns This is the ID of the office for the Agent associated with the
721
- presentation. This will be an integer.</p>
722
-
723
-
724
- </div>
725
- </div>
726
- <div class="tags">
727
-
728
- <p class="tag_title">Returns:</p>
729
- <ul class="return">
730
-
731
- <li>
732
-
733
-
734
- <span class='type'>(<tt>string</tt>)</span>
735
-
736
-
737
-
738
- &mdash;
739
- <div class='inline'>
740
- <p>This is the ID of the office for the Agent associated with the
741
- presentation. This will be an integer.</p>
742
- </div>
743
-
744
- </li>
745
-
746
- </ul>
747
-
748
- </div><table class="source_code">
749
- <tr>
750
- <td>
751
- <pre class="lines">
752
-
753
-
754
- 50
755
- 51
756
- 52</pre>
757
- </td>
758
- <td>
759
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 50</span>
760
-
761
- <span class='kw'>def</span> <span class='id identifier rubyid_agent_office_id'>agent_office_id</span>
762
- <span class='ivar'>@agent_office_id</span>
763
- <span class='kw'>end</span></pre>
764
- </td>
765
- </tr>
766
- </table>
767
- </div>
768
-
769
-
770
- <span id="agent_uuid=-instance_method"></span>
771
- <div class="method_details ">
772
- <h3 class="signature " id="agent_uuid-instance_method">
773
-
774
- #<strong>agent_uuid</strong> &#x21d2; <tt>string</tt>
775
-
776
-
777
-
778
-
779
-
780
- </h3><div class="docstring">
781
- <div class="discussion">
782
-
783
- <p>Returns This is the Moxi Works Platform ID of the presentation_log which an
784
- ActionLog entry is associated with. This will be an RFC 4122 compliant
785
- UUID.</p>
786
-
787
-
788
- </div>
789
- </div>
790
- <div class="tags">
791
-
792
- <p class="tag_title">Returns:</p>
793
- <ul class="return">
794
-
795
- <li>
796
-
797
-
798
- <span class='type'>(<tt>string</tt>)</span>
799
-
800
-
801
-
802
- &mdash;
803
- <div class='inline'>
804
- <p>This is the Moxi Works Platform ID of the presentation_log which an
805
- ActionLog entry is associated with. This will be an RFC 4122 compliant
806
- UUID.</p>
807
- </div>
808
-
809
- </li>
810
-
811
- </ul>
812
-
813
- </div><table class="source_code">
814
- <tr>
815
- <td>
816
- <pre class="lines">
817
-
818
-
819
- 9
820
- 10
821
- 11</pre>
822
- </td>
823
- <td>
824
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 9</span>
825
-
826
- <span class='kw'>def</span> <span class='id identifier rubyid_agent_uuid'>agent_uuid</span>
827
- <span class='ivar'>@agent_uuid</span>
828
- <span class='kw'>end</span></pre>
829
- </td>
830
- </tr>
831
- </table>
832
- </div>
833
-
834
-
835
- <span id="created=-instance_method"></span>
836
- <div class="method_details ">
837
- <h3 class="signature " id="created-instance_method">
838
-
839
- #<strong>created</strong> &#x21d2; <tt>string</tt>
840
-
841
-
842
-
843
-
844
-
845
- </h3><div class="docstring">
846
- <div class="discussion">
847
-
848
- <p>Returns This is the Unix timestamp for the creation time of the
849
- presentation.</p>
850
-
851
-
852
- </div>
853
- </div>
854
- <div class="tags">
855
-
856
- <p class="tag_title">Returns:</p>
857
- <ul class="return">
858
-
859
- <li>
860
-
861
-
862
- <span class='type'>(<tt>string</tt>)</span>
863
-
864
-
865
-
866
- &mdash;
867
- <div class='inline'>
868
- <p>This is the Unix timestamp for the creation time of the presentation.</p>
869
- </div>
870
-
871
- </li>
872
-
873
- </ul>
874
-
875
- </div><table class="source_code">
876
- <tr>
877
- <td>
878
- <pre class="lines">
879
-
880
-
881
- 36
882
- 37
883
- 38</pre>
884
- </td>
885
- <td>
886
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 36</span>
887
-
888
- <span class='kw'>def</span> <span class='id identifier rubyid_created'>created</span>
889
- <span class='ivar'>@created</span>
890
- <span class='kw'>end</span></pre>
891
- </td>
892
- </tr>
893
- </table>
894
- </div>
895
-
896
-
897
- <span id="edited=-instance_method"></span>
898
- <div class="method_details ">
899
- <h3 class="signature " id="edited-instance_method">
900
-
901
- #<strong>edited</strong> &#x21d2; <tt>string</tt>
902
-
903
-
904
-
905
-
906
-
907
- </h3><div class="docstring">
908
- <div class="discussion">
909
-
910
- <p>Returns This is the Unix timestamp for the last time the presentation was
911
- edited.</p>
912
-
913
-
914
- </div>
915
- </div>
916
- <div class="tags">
917
-
918
- <p class="tag_title">Returns:</p>
919
- <ul class="return">
920
-
921
- <li>
922
-
923
-
924
- <span class='type'>(<tt>string</tt>)</span>
925
-
926
-
927
-
928
- &mdash;
929
- <div class='inline'>
930
- <p>This is the Unix timestamp for the last time the presentation was edited.</p>
931
- </div>
932
-
933
- </li>
934
-
935
- </ul>
936
-
937
- </div><table class="source_code">
938
- <tr>
939
- <td>
940
- <pre class="lines">
941
-
942
-
943
- 43
944
- 44
945
- 45</pre>
946
- </td>
947
- <td>
948
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 43</span>
949
-
950
- <span class='kw'>def</span> <span class='id identifier rubyid_edited'>edited</span>
951
- <span class='ivar'>@edited</span>
952
- <span class='kw'>end</span></pre>
953
- </td>
954
- </tr>
955
- </table>
956
- </div>
957
-
958
-
959
- <span id="external_identifier=-instance_method"></span>
960
- <div class="method_details ">
961
- <h3 class="signature " id="external_identifier-instance_method">
962
-
963
- #<strong>external_identifier</strong> &#x21d2; <tt>string</tt>
964
-
965
-
966
-
967
-
968
-
969
- </h3><div class="docstring">
970
- <div class="discussion">
971
-
972
- <p>Returns This is the ID of the Agent utilized by their company.</p>
973
-
974
-
975
- </div>
976
- </div>
977
- <div class="tags">
978
-
979
- <p class="tag_title">Returns:</p>
980
- <ul class="return">
981
-
982
- <li>
983
-
984
-
985
- <span class='type'>(<tt>string</tt>)</span>
986
-
987
-
988
-
989
- &mdash;
990
- <div class='inline'>
991
- <p>This is the ID of the Agent utilized by their company.</p>
992
- </div>
993
-
994
- </li>
995
-
996
- </ul>
997
-
998
- </div><table class="source_code">
999
- <tr>
1000
- <td>
1001
- <pre class="lines">
1002
-
1003
-
1004
- 85
1005
- 86
1006
- 87</pre>
1007
- </td>
1008
- <td>
1009
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 85</span>
1010
-
1011
- <span class='kw'>def</span> <span class='id identifier rubyid_external_identifier'>external_identifier</span>
1012
- <span class='ivar'>@external_identifier</span>
1013
- <span class='kw'>end</span></pre>
1014
- </td>
1015
- </tr>
1016
- </table>
1017
- </div>
1018
-
1019
-
1020
- <span id="external_office_id=-instance_method"></span>
1021
- <div class="method_details ">
1022
- <h3 class="signature " id="external_office_id-instance_method">
1023
-
1024
- #<strong>external_office_id</strong> &#x21d2; <tt>string</tt>
1025
-
1026
-
1027
-
1028
-
1029
-
1030
- </h3><div class="docstring">
1031
- <div class="discussion">
1032
-
1033
- <p>Returns This is the ID of the office for this Agent utilized by their
1034
- company.</p>
1035
-
1036
-
1037
- </div>
1038
- </div>
1039
- <div class="tags">
1040
-
1041
- <p class="tag_title">Returns:</p>
1042
- <ul class="return">
1043
-
1044
- <li>
1045
-
1046
-
1047
- <span class='type'>(<tt>string</tt>)</span>
1048
-
1049
-
1050
-
1051
- &mdash;
1052
- <div class='inline'>
1053
- <p>This is the ID of the office for this Agent utilized by their company.</p>
1054
- </div>
1055
-
1056
- </li>
1057
-
1058
- </ul>
1059
-
1060
- </div><table class="source_code">
1061
- <tr>
1062
- <td>
1063
- <pre class="lines">
1064
-
1065
-
1066
- 92
1067
- 93
1068
- 94</pre>
1069
- </td>
1070
- <td>
1071
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 92</span>
1072
-
1073
- <span class='kw'>def</span> <span class='id identifier rubyid_external_office_id'>external_office_id</span>
1074
- <span class='ivar'>@external_office_id</span>
1075
- <span class='kw'>end</span></pre>
1076
- </td>
1077
- </tr>
1078
- </table>
1079
- </div>
1080
-
1081
-
1082
- <span id="moxi_works_presentation_id=-instance_method"></span>
1083
- <div class="method_details ">
1084
- <h3 class="signature " id="moxi_works_presentation_id-instance_method">
1085
-
1086
- #<strong>moxi_works_presentation_id</strong> &#x21d2; <tt>string</tt>
1087
-
1088
-
1089
-
1090
-
1091
-
1092
- </h3><div class="docstring">
1093
- <div class="discussion">
1094
-
1095
- <p>Returns The unique UUID of the presentation. This will be an RFC 4122
1096
- compliant UUID.</p>
1097
-
1098
-
1099
- </div>
1100
- </div>
1101
- <div class="tags">
1102
-
1103
- <p class="tag_title">Returns:</p>
1104
- <ul class="return">
1105
-
1106
- <li>
1107
-
1108
-
1109
- <span class='type'>(<tt>string</tt>)</span>
1110
-
1111
-
1112
-
1113
- &mdash;
1114
- <div class='inline'>
1115
- <p>The unique UUID of the presentation. This will be an RFC 4122 compliant
1116
- UUID.</p>
1117
- </div>
1118
-
1119
- </li>
1120
-
1121
- </ul>
1122
-
1123
- </div><table class="source_code">
1124
- <tr>
1125
- <td>
1126
- <pre class="lines">
1127
-
1128
-
1129
- 99
1130
- 100
1131
- 101</pre>
1132
- </td>
1133
- <td>
1134
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 99</span>
1135
-
1136
- <span class='kw'>def</span> <span class='id identifier rubyid_moxi_works_presentation_id'>moxi_works_presentation_id</span>
1137
- <span class='ivar'>@moxi_works_presentation_id</span>
1138
- <span class='kw'>end</span></pre>
1139
- </td>
1140
- </tr>
1141
- </table>
1142
- </div>
1143
-
1144
-
1145
- <span id="pdf_requested=-instance_method"></span>
1146
- <div class="method_details ">
1147
- <h3 class="signature " id="pdf_requested-instance_method">
1148
-
1149
- #<strong>pdf_requested</strong> &#x21d2; <tt>string</tt>
1150
-
1151
-
1152
-
1153
-
1154
-
1155
- </h3><div class="docstring">
1156
- <div class="discussion">
1157
-
1158
- <p>Returns The number of PDF documents requested.</p>
1159
-
1160
-
1161
- </div>
1162
- </div>
1163
- <div class="tags">
1164
-
1165
- <p class="tag_title">Returns:</p>
1166
- <ul class="return">
1167
-
1168
- <li>
1169
-
1170
-
1171
- <span class='type'>(<tt>string</tt>)</span>
1172
-
1173
-
1174
-
1175
- &mdash;
1176
- <div class='inline'>
1177
- <p>The number of PDF documents requested.</p>
1178
- </div>
1179
-
1180
- </li>
1181
-
1182
- </ul>
1183
-
1184
- </div><table class="source_code">
1185
- <tr>
1186
- <td>
1187
- <pre class="lines">
1188
-
1189
-
1190
- 71
1191
- 72
1192
- 73</pre>
1193
- </td>
1194
- <td>
1195
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 71</span>
1196
-
1197
- <span class='kw'>def</span> <span class='id identifier rubyid_pdf_requested'>pdf_requested</span>
1198
- <span class='ivar'>@pdf_requested</span>
1199
- <span class='kw'>end</span></pre>
1200
- </td>
1201
- </tr>
1202
- </table>
1203
- </div>
1204
-
1205
-
1206
- <span id="pres_requested=-instance_method"></span>
1207
- <div class="method_details ">
1208
- <h3 class="signature " id="pres_requested-instance_method">
1209
-
1210
- #<strong>pres_requested</strong> &#x21d2; <tt>string</tt>
1211
-
1212
-
1213
-
1214
-
1215
-
1216
- </h3><div class="docstring">
1217
- <div class="discussion">
1218
-
1219
- <p>Returns The number of Online presentations requested.</p>
1220
-
1221
-
1222
- </div>
1223
- </div>
1224
- <div class="tags">
1225
-
1226
- <p class="tag_title">Returns:</p>
1227
- <ul class="return">
1228
-
1229
- <li>
1230
-
1231
-
1232
- <span class='type'>(<tt>string</tt>)</span>
1233
-
1234
-
1235
-
1236
- &mdash;
1237
- <div class='inline'>
1238
- <p>The number of Online presentations requested.</p>
1239
- </div>
1240
-
1241
- </li>
1242
-
1243
- </ul>
1244
-
1245
- </div><table class="source_code">
1246
- <tr>
1247
- <td>
1248
- <pre class="lines">
1249
-
1250
-
1251
- 78
1252
- 79
1253
- 80</pre>
1254
- </td>
1255
- <td>
1256
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 78</span>
1257
-
1258
- <span class='kw'>def</span> <span class='id identifier rubyid_pres_requested'>pres_requested</span>
1259
- <span class='ivar'>@pres_requested</span>
1260
- <span class='kw'>end</span></pre>
1261
- </td>
1262
- </tr>
1263
- </table>
1264
- </div>
1265
-
1266
-
1267
- <span id="sent_by_agent=-instance_method"></span>
1268
- <div class="method_details ">
1269
- <h3 class="signature " id="sent_by_agent-instance_method">
1270
-
1271
- #<strong>sent_by_agent</strong> &#x21d2; <tt>string</tt>
1272
-
1273
-
1274
-
1275
-
1276
-
1277
- </h3><div class="docstring">
1278
- <div class="discussion">
1279
-
1280
- <p>Returns The UUID of the agent that sent the presentation to the client.
1281
- This will be an RFC 4122 compliant UUID.</p>
1282
-
1283
-
1284
- </div>
1285
- </div>
1286
- <div class="tags">
1287
-
1288
- <p class="tag_title">Returns:</p>
1289
- <ul class="return">
1290
-
1291
- <li>
1292
-
1293
-
1294
- <span class='type'>(<tt>string</tt>)</span>
1295
-
1296
-
1297
-
1298
- &mdash;
1299
- <div class='inline'>
1300
- <p>The UUID of the agent that sent the presentation to the client. This will
1301
- be an RFC 4122 compliant UUID.</p>
1302
- </div>
1303
-
1304
- </li>
1305
-
1306
- </ul>
1307
-
1308
- </div><table class="source_code">
1309
- <tr>
1310
- <td>
1311
- <pre class="lines">
1312
-
1313
-
1314
- 64
1315
- 65
1316
- 66</pre>
1317
- </td>
1318
- <td>
1319
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 64</span>
1320
-
1321
- <span class='kw'>def</span> <span class='id identifier rubyid_sent_by_agent'>sent_by_agent</span>
1322
- <span class='ivar'>@sent_by_agent</span>
1323
- <span class='kw'>end</span></pre>
1324
- </td>
1325
- </tr>
1326
- </table>
1327
- </div>
1328
-
1329
-
1330
- <span id="title=-instance_method"></span>
1331
- <div class="method_details ">
1332
- <h3 class="signature " id="title-instance_method">
1333
-
1334
- #<strong>title</strong> &#x21d2; <tt>string</tt>
1335
-
1336
-
1337
-
1338
-
1339
-
1340
- </h3><div class="docstring">
1341
- <div class="discussion">
1342
-
1343
- <p>Returns The title of the presentation. This can be null if there is no data
1344
- for this attribute.</p>
1345
-
1346
-
1347
- </div>
1348
- </div>
1349
- <div class="tags">
1350
-
1351
- <p class="tag_title">Returns:</p>
1352
- <ul class="return">
1353
-
1354
- <li>
1355
-
1356
-
1357
- <span class='type'>(<tt>string</tt>)</span>
1358
-
1359
-
1360
-
1361
- &mdash;
1362
- <div class='inline'>
1363
- <p>The title of the presentation. This can be null if there is no data for
1364
- this attribute.</p>
1365
- </div>
1366
-
1367
- </li>
1368
-
1369
- </ul>
1370
-
1371
- </div><table class="source_code">
1372
- <tr>
1373
- <td>
1374
- <pre class="lines">
1375
-
1376
-
1377
- 29
1378
- 30
1379
- 31</pre>
1380
- </td>
1381
- <td>
1382
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 29</span>
1383
-
1384
- <span class='kw'>def</span> <span class='id identifier rubyid_title'>title</span>
1385
- <span class='ivar'>@title</span>
1386
- <span class='kw'>end</span></pre>
1387
- </td>
1388
- </tr>
1389
- </table>
1390
- </div>
1391
-
1392
-
1393
- <span id="type=-instance_method"></span>
1394
- <div class="method_details ">
1395
- <h3 class="signature " id="type-instance_method">
1396
-
1397
- #<strong>type</strong> &#x21d2; <tt>string</tt>
1398
-
1399
-
1400
-
1401
-
1402
-
1403
- </h3><div class="docstring">
1404
- <div class="discussion">
1405
-
1406
- <p>Returns Whether the presentation is for a buyer or seller.</p>
1407
-
1408
-
1409
- </div>
1410
- </div>
1411
- <div class="tags">
1412
-
1413
- <p class="tag_title">Returns:</p>
1414
- <ul class="return">
1415
-
1416
- <li>
1417
-
1418
-
1419
- <span class='type'>(<tt>string</tt>)</span>
1420
-
1421
-
1422
-
1423
- &mdash;
1424
- <div class='inline'>
1425
- <p>Whether the presentation is for a buyer or seller.</p>
1426
- </div>
1427
-
1428
- </li>
1429
-
1430
- </ul>
1431
-
1432
- </div><table class="source_code">
1433
- <tr>
1434
- <td>
1435
- <pre class="lines">
1436
-
1437
-
1438
- 57
1439
- 58
1440
- 59</pre>
1441
- </td>
1442
- <td>
1443
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 57</span>
1444
-
1445
- <span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
1446
- <span class='ivar'>@type</span>
1447
- <span class='kw'>end</span></pre>
1448
- </td>
1449
- </tr>
1450
- </table>
1451
- </div>
1452
-
1453
- </div>
1454
-
1455
-
1456
- <div id="class_method_details" class="method_details_list">
1457
- <h2>Class Method Details</h2>
1458
-
1459
-
1460
- <div class="method_details first">
1461
- <h3 class="signature first" id="search-class_method">
1462
-
1463
- .<strong>search</strong>(opts = {}) &#x21d2; <tt>Hash</tt>
1464
-
1465
-
1466
-
1467
-
1468
-
1469
- </h3><div class="docstring">
1470
- <div class="discussion">
1471
-
1472
- <p>Search For Agents in Moxi Works Platform</p>
1473
-
1474
-
1475
- </div>
1476
- </div>
1477
- <div class="tags">
1478
-
1479
- <div class="examples">
1480
- <p class="tag_title">Examples:</p>
1481
-
1482
-
1483
- <pre class="example code"><code><span class='id identifier rubyid_results'>results</span> <span class='op'>=</span> <span class='const'>MoxiworksPlatform</span><span class='op'>::</span><span class='const'>PresentationLog</span><span class='period'>.</span><span class='id identifier rubyid_search'>search</span><span class='lparen'>(</span>
1484
- <span class='label'>moxi_works_company_id:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>the_company</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
1485
- <span class='label'>updated_after:</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='op'>-</span> <span class='int'>1296000</span><span class='comma'>,</span>
1486
- <span class='rparen'>)</span></code></pre>
1487
-
1488
- </div>
1489
- <p class="tag_title">Parameters:</p>
1490
- <ul class="param">
1491
-
1492
- <li>
1493
-
1494
- <span class='name'>opts</span>
1495
-
1496
-
1497
- <span class='type'>(<tt>Hash</tt>)</span>
1498
-
1499
-
1500
- <em class="default">(defaults to: <tt>{}</tt>)</em>
1501
-
1502
-
1503
- &mdash;
1504
- <div class='inline'>
1505
- <p>named parameter Hash</p>
1506
- </div>
1507
-
1508
- </li>
1509
-
1510
- </ul>
1511
-
1512
-
1513
-
1514
-
1515
- <p class="tag_title">Options Hash (<tt>opts</tt>):</p>
1516
- <ul class="option">
1517
-
1518
- <li>
1519
- <span class="name">:moxi_works_company_id</span>
1520
- <span class="type">(<tt>String</tt>)</span>
1521
- <span class="default">
1522
-
1523
- </span>
1524
-
1525
- &mdash; <div class='inline'>
1526
- <p><strong>REQUIRED</strong> The Moxi Works Company ID For the search (use
1527
- Company.search to determine available moxi_works_company_id)</p>
1528
-
1529
- <p>optional Search parameters</p>
1530
- </div>
1531
-
1532
- </li>
1533
-
1534
- <li>
1535
- <span class="name">:updated_after</span>
1536
- <span class="type">(<tt>Integer</tt>)</span>
1537
- <span class="default">
1538
-
1539
- </span>
1540
-
1541
- &mdash; <div class='inline'>
1542
- <p>Unix timestamp representing the start time for the search. If no
1543
- updated_after parameter is included in the request, only presentations
1544
- updated in the last seven days will be included in the response.</p>
1545
- </div>
1546
-
1547
- </li>
1548
-
1549
- <li>
1550
- <span class="name">:updated_before</span>
1551
- <span class="type">(<tt>Integer</tt>)</span>
1552
- <span class="default">
1553
-
1554
- </span>
1555
-
1556
- &mdash; <div class='inline'>
1557
- <p>Unix timestamp representing the end time for the search. If no
1558
- updated_before parameter is included in the request, only presentations
1559
- updated in the seven days following updated_after will be included in the
1560
- response.</p>
1561
- </div>
1562
-
1563
- </li>
1564
-
1565
- <li>
1566
- <span class="name">:created_after</span>
1567
- <span class="type">(<tt>Integer</tt>)</span>
1568
- <span class="default">
1569
-
1570
- </span>
1571
-
1572
- &mdash; <div class='inline'>
1573
- <p>Unix timestamp representing the start time for the search.</p>
1574
- </div>
1575
-
1576
- </li>
1577
-
1578
- <li>
1579
- <span class="name">:created_after</span>
1580
- <span class="type">(<tt>Integer</tt>)</span>
1581
- <span class="default">
1582
-
1583
- </span>
1584
-
1585
- &mdash; <div class='inline'>
1586
- <p>Unix timestamp representing the end time for the search. If no
1587
- created_before parameter is included in the request, only presentations
1588
- updated in the seven days following created_after will be included in the
1589
- response.</p>
1590
- </div>
1591
-
1592
- </li>
1593
-
1594
- </ul>
1595
-
1596
-
1597
- <p class="tag_title">Returns:</p>
1598
- <ul class="return">
1599
-
1600
- <li>
1601
-
1602
-
1603
- <span class='type'>(<tt>Hash</tt>)</span>
1604
-
1605
-
1606
-
1607
- &mdash;
1608
- <div class='inline'>
1609
- <p>with the format:
1610
- <pre class="code ruby"><code class="ruby">presentations: [Array] containing MoxiworkPlatform::PresentationLog objects</code></pre>
1611
-
1612
- <p></p>
1613
- </div>
1614
-
1615
- </li>
1616
-
1617
- </ul>
1618
- <p class="tag_title">Raises:</p>
1619
- <ul class="raise">
1620
-
1621
- <li>
1622
-
1623
-
1624
- <span class='type'></span>
1625
-
1626
-
1627
-
1628
-
1629
- <div class='inline'>
1630
- <p>::MoxiworksPlatform::Exception::ArgumentError if required named parameters
1631
- aren&#39;t included</p>
1632
- </div>
1633
-
1634
- </li>
1635
-
1636
- </ul>
1637
-
1638
- </div><table class="source_code">
1639
- <tr>
1640
- <td>
1641
- <pre class="lines">
1642
-
1643
-
1644
- 130
1645
- 131
1646
- 132
1647
- 133
1648
- 134
1649
- 135
1650
- 136
1651
- 137
1652
- 138
1653
- 139
1654
- 140
1655
- 141
1656
- 142
1657
- 143
1658
- 144
1659
- 145
1660
- 146
1661
- 147
1662
- 148
1663
- 149
1664
- 150
1665
- 151
1666
- 152
1667
- 153
1668
- 154</pre>
1669
- </td>
1670
- <td>
1671
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/presentation_log.rb', line 130</span>
1672
-
1673
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_search'>search</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
1674
- <span class='id identifier rubyid_url'>url</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'>MoxiworksPlatform</span><span class='op'>::</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_url'>url</span><span class='embexpr_end'>}</span><span class='tstring_content'>/api/presentation_logs</span><span class='tstring_end'>&quot;</span></span>
1675
- <span class='id identifier rubyid_required_opts'>required_opts</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:moxi_works_company_id</span><span class='rbracket'>]</span>
1676
- <span class='id identifier rubyid_required_opts'>required_opts</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_opt'>opt</span><span class='op'>|</span>
1677
- <span class='id identifier rubyid_raise'>raise</span> <span class='op'>::</span><span class='const'>MoxiworksPlatform</span><span class='op'>::</span><span class='const'>Exception</span><span class='op'>::</span><span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_opt'>opt</span><span class='embexpr_end'>}</span><span class='tstring_content'> required</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span>
1678
- <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='id identifier rubyid_opt'>opt</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>or</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='id identifier rubyid_opt'>opt</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
1679
- <span class='kw'>end</span>
1680
-
1681
-
1682
- <span class='id identifier rubyid_results'>results</span> <span class='op'>=</span> <span class='const'>MoxiResponseArray</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='rparen'>)</span>
1683
- <span class='id identifier rubyid_json'>json</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>presentations</span><span class='label_end'>&#39;:</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rbrace'>}</span>
1684
- <span class='const'>RestClient</span><span class='op'>::</span><span class='const'>Request</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='label'>method:</span> <span class='symbol'>:get</span><span class='comma'>,</span>
1685
- <span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
1686
- <span class='label'>payload:</span> <span class='id identifier rubyid_opts'>opts</span><span class='comma'>,</span> <span class='label'>headers:</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_response'>response</span><span class='op'>|</span>
1687
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_response'>response</span> <span class='kw'>if</span> <span class='const'>MoxiworksPlatform</span><span class='op'>::</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_debug'>debug</span>
1688
- <span class='id identifier rubyid_results'>results</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span>
1689
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_check_for_error_in_response'>check_for_error_in_response</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span>
1690
- <span class='id identifier rubyid_json'>json</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span>
1691
- <span class='id identifier rubyid_json'>json</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>presentations</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</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_r'>r</span><span class='op'>|</span>
1692
- <span class='id identifier rubyid_results'>results</span> <span class='op'>&lt;&lt;</span> <span class='const'>MoxiworksPlatform</span><span class='op'>::</span><span class='const'>PresentationLog</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_r'>r</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_r'>r</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>or</span> <span class='id identifier rubyid_r'>r</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
1693
- <span class='kw'>end</span>
1694
- <span class='id identifier rubyid_json'>json</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>presentations</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_results'>results</span>
1695
- <span class='kw'>end</span>
1696
- <span class='id identifier rubyid_json'>json</span>
1697
- <span class='kw'>end</span></pre>
1698
- </td>
1699
- </tr>
1700
- </table>
1701
- </div>
1702
-
1703
- </div>
1704
-
1705
- </div>
1706
-
1707
- <div id="footer">
1708
- Generated on Fri Apr 20 10:00:20 2018 by
1709
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1710
- 0.9.5 (ruby-2.2.4).
1711
- </div>
1712
-
1713
- </div>
1714
- </body>
1715
- </html>