moxiworks_platform 0.13.15 → 0.13.16

Sign up to get free protection for your applications and to get access to all the features.
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,2147 +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::Team
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::Team";
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 (T)</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">Team</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::Team
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::Team</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/team.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+Teams">Moxi Works Platform Teams</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="#active-instance_method" title="#active (instance method)">#<strong>active</strong> &#x21d2; Object </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>Boolean Whether the team is active or not.</p>
146
- </div></span>
147
-
148
- </li>
149
-
150
-
151
- <li class="public ">
152
- <span class="summary_signature">
153
-
154
- <a href="#address1-instance_method" title="#address1 (instance method)">#<strong>address1</strong> &#x21d2; Object </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>String First line of contact address for the team.</p>
173
- </div></span>
174
-
175
- </li>
176
-
177
-
178
- <li class="public ">
179
- <span class="summary_signature">
180
-
181
- <a href="#address2-instance_method" title="#address2 (instance method)">#<strong>address2</strong> &#x21d2; Object </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>String Second line of contact address for the team.</p>
200
- </div></span>
201
-
202
- </li>
203
-
204
-
205
- <li class="public ">
206
- <span class="summary_signature">
207
-
208
- <a href="#alt_email-instance_method" title="#alt_email (instance method)">#<strong>alt_email</strong> &#x21d2; Object </a>
209
-
210
-
211
-
212
- </span>
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
- <span class="summary_desc"><div class='inline'>
226
- <p>String Alternate contact email address for the team.</p>
227
- </div></span>
228
-
229
- </li>
230
-
231
-
232
- <li class="public ">
233
- <span class="summary_signature">
234
-
235
- <a href="#alt_phone-instance_method" title="#alt_phone (instance method)">#<strong>alt_phone</strong> &#x21d2; Object </a>
236
-
237
-
238
-
239
- </span>
240
-
241
-
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
- <span class="summary_desc"><div class='inline'>
253
- <p>String Alternate contact phone number for the team.</p>
254
- </div></span>
255
-
256
- </li>
257
-
258
-
259
- <li class="public ">
260
- <span class="summary_signature">
261
-
262
- <a href="#city-instance_method" title="#city (instance method)">#<strong>city</strong> &#x21d2; Object </a>
263
-
264
-
265
-
266
- </span>
267
-
268
-
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
- <span class="summary_desc"><div class='inline'>
280
- <p>String City portion of contact address for the team.</p>
281
- </div></span>
282
-
283
- </li>
284
-
285
-
286
- <li class="public ">
287
- <span class="summary_signature">
288
-
289
- <a href="#description-instance_method" title="#description (instance method)">#<strong>description</strong> &#x21d2; Object </a>
290
-
291
-
292
-
293
- </span>
294
-
295
-
296
-
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
- <span class="summary_desc"><div class='inline'>
307
- <p>String Description of the team.</p>
308
- </div></span>
309
-
310
- </li>
311
-
312
-
313
- <li class="public ">
314
- <span class="summary_signature">
315
-
316
- <a href="#email-instance_method" title="#email (instance method)">#<strong>email</strong> &#x21d2; Object </a>
317
-
318
-
319
-
320
- </span>
321
-
322
-
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
- <span class="summary_desc"><div class='inline'>
334
- <p>String Contact email address for the team.</p>
335
- </div></span>
336
-
337
- </li>
338
-
339
-
340
- <li class="public ">
341
- <span class="summary_signature">
342
-
343
- <a href="#fax-instance_method" title="#fax (instance method)">#<strong>fax</strong> &#x21d2; Object </a>
344
-
345
-
346
-
347
- </span>
348
-
349
-
350
-
351
-
352
-
353
-
354
-
355
-
356
-
357
-
358
-
359
-
360
- <span class="summary_desc"><div class='inline'>
361
- <p>String fax number for the team.</p>
362
- </div></span>
363
-
364
- </li>
365
-
366
-
367
- <li class="public ">
368
- <span class="summary_signature">
369
-
370
- <a href="#logo_url-instance_method" title="#logo_url (instance method)">#<strong>logo_url</strong> &#x21d2; Object </a>
371
-
372
-
373
-
374
- </span>
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
- <span class="summary_desc"><div class='inline'>
388
- <p>String URL to a logo image for the team.</p>
389
- </div></span>
390
-
391
- </li>
392
-
393
-
394
- <li class="public ">
395
- <span class="summary_signature">
396
-
397
- <a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> &#x21d2; Object </a>
398
-
399
-
400
-
401
- </span>
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
- <span class="summary_desc"><div class='inline'>
415
- <p>String The human readable name of the team.</p>
416
- </div></span>
417
-
418
- </li>
419
-
420
-
421
- <li class="public ">
422
- <span class="summary_signature">
423
-
424
- <a href="#phone-instance_method" title="#phone (instance method)">#<strong>phone</strong> &#x21d2; Object </a>
425
-
426
-
427
-
428
- </span>
429
-
430
-
431
-
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
-
441
- <span class="summary_desc"><div class='inline'>
442
- <p>String contact phone number for the team.</p>
443
- </div></span>
444
-
445
- </li>
446
-
447
-
448
- <li class="public ">
449
- <span class="summary_signature">
450
-
451
- <a href="#photo_url-instance_method" title="#photo_url (instance method)">#<strong>photo_url</strong> &#x21d2; Object </a>
452
-
453
-
454
-
455
- </span>
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
- <span class="summary_desc"><div class='inline'>
469
- <p>String First URL to a image representing the team.</p>
470
- </div></span>
471
-
472
- </li>
473
-
474
-
475
- <li class="public ">
476
- <span class="summary_signature">
477
-
478
- <a href="#social_media_urls-instance_method" title="#social_media_urls (instance method)">#<strong>social_media_urls</strong> &#x21d2; Object </a>
479
-
480
-
481
-
482
- </span>
483
-
484
-
485
-
486
-
487
-
488
-
489
-
490
-
491
-
492
-
493
-
494
-
495
- <span class="summary_desc"><div class='inline'>
496
- <p>Array Social media URLs associated with the team.</p>
497
- </div></span>
498
-
499
- </li>
500
-
501
-
502
- <li class="public ">
503
- <span class="summary_signature">
504
-
505
- <a href="#state-instance_method" title="#state (instance method)">#<strong>state</strong> &#x21d2; Object </a>
506
-
507
-
508
-
509
- </span>
510
-
511
-
512
-
513
-
514
-
515
-
516
-
517
-
518
-
519
-
520
-
521
-
522
- <span class="summary_desc"><div class='inline'>
523
- <p>String State portion of contact address for the team.</p>
524
- </div></span>
525
-
526
- </li>
527
-
528
-
529
- <li class="public ">
530
- <span class="summary_signature">
531
-
532
- <a href="#uuid-instance_method" title="#uuid (instance method)">#<strong>uuid</strong> &#x21d2; Object </a>
533
-
534
-
535
-
536
- </span>
537
-
538
-
539
-
540
-
541
-
542
-
543
-
544
-
545
-
546
-
547
-
548
-
549
- <span class="summary_desc"><div class='inline'>
550
- <p>String The unique ID of the Team.</p>
551
- </div></span>
552
-
553
- </li>
554
-
555
-
556
- <li class="public ">
557
- <span class="summary_signature">
558
-
559
- <a href="#website_url-instance_method" title="#website_url (instance method)">#<strong>website_url</strong> &#x21d2; Object </a>
560
-
561
-
562
-
563
- </span>
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
- <span class="summary_desc"><div class='inline'>
577
- <p>String URL to the website for the team.</p>
578
- </div></span>
579
-
580
- </li>
581
-
582
-
583
- <li class="public ">
584
- <span class="summary_signature">
585
-
586
- <a href="#zipcode-instance_method" title="#zipcode (instance method)">#<strong>zipcode</strong> &#x21d2; Object </a>
587
-
588
-
589
-
590
- </span>
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
- <span class="summary_desc"><div class='inline'>
604
- <p>String Postal Code portion of the contact address for the team.</p>
605
- </div></span>
606
-
607
- </li>
608
-
609
-
610
- </ul>
611
-
612
-
613
-
614
-
615
-
616
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Resource.html" title="MoxiworksPlatform::Resource (class)">Resource</a></span></h3>
617
- <p class="inherited"><span class='object_link'><a href="Resource.html#headers-instance_method" title="MoxiworksPlatform::Resource#headers (method)">#headers</a></span></p>
618
-
619
-
620
-
621
- <h2>
622
- Class Method Summary
623
- <small><a href="#" class="summary_toggle">collapse</a></small>
624
- </h2>
625
-
626
- <ul class="summary">
627
-
628
- <li class="public ">
629
- <span class="summary_signature">
630
-
631
- <a href="#find-class_method" title="find (class method)">.<strong>find</strong>(opts = {}) &#x21d2; MoxiworksPlatform::Team </a>
632
-
633
-
634
-
635
- </span>
636
-
637
-
638
-
639
-
640
-
641
-
642
-
643
-
644
-
645
- <span class="summary_desc"><div class='inline'>
646
- <p>Find a Team by ID in Moxi Works Platform.</p>
647
- </div></span>
648
-
649
- </li>
650
-
651
-
652
- <li class="public ">
653
- <span class="summary_signature">
654
-
655
- <a href="#search-class_method" title="search (class method)">.<strong>search</strong>(opts = {}) &#x21d2; Array </a>
656
-
657
-
658
-
659
- </span>
660
-
661
-
662
-
663
-
664
-
665
-
666
-
667
-
668
-
669
- <span class="summary_desc"><div class='inline'>
670
- <p>Search For Teams in Moxi Works Platform.</p>
671
- </div></span>
672
-
673
- </li>
674
-
675
-
676
- </ul>
677
-
678
-
679
-
680
-
681
-
682
-
683
-
684
-
685
-
686
-
687
-
688
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Resource.html" title="MoxiworksPlatform::Resource (class)">Resource</a></span></h3>
689
- <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>
690
- <div id="constructor_details" class="method_details_list">
691
- <h2>Constructor Details</h2>
692
-
693
- <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>
694
-
695
- </div>
696
- <div id="method_missing_details" class="method_details_list">
697
- <h2>Dynamic Method Handling</h2>
698
- <p class="notice super">
699
- This class handles dynamic methods through the <tt>method_missing</tt> method
700
-
701
- 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>
702
-
703
- </p>
704
-
705
- </div>
706
-
707
- <div id="instance_attr_details" class="attr_details">
708
- <h2>Instance Attribute Details</h2>
709
-
710
-
711
- <span id="active=-instance_method"></span>
712
- <div class="method_details first">
713
- <h3 class="signature first" id="active-instance_method">
714
-
715
- #<strong>active</strong> &#x21d2; <tt>Object</tt>
716
-
717
-
718
-
719
-
720
-
721
- </h3><div class="docstring">
722
- <div class="discussion">
723
-
724
- <p>Returns boolean Whether the team is active or not</p>
725
-
726
-
727
- </div>
728
- </div>
729
- <div class="tags">
730
-
731
- <p class="tag_title">Returns:</p>
732
- <ul class="return">
733
-
734
- <li>
735
-
736
-
737
- <span class='type'></span>
738
-
739
-
740
-
741
-
742
- <div class='inline'>
743
- <p>boolean Whether the team is active or not</p>
744
- </div>
745
-
746
- </li>
747
-
748
- </ul>
749
-
750
- </div><table class="source_code">
751
- <tr>
752
- <td>
753
- <pre class="lines">
754
-
755
-
756
- 129
757
- 130
758
- 131</pre>
759
- </td>
760
- <td>
761
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 129</span>
762
-
763
- <span class='kw'>def</span> <span class='id identifier rubyid_active'>active</span>
764
- <span class='ivar'>@active</span>
765
- <span class='kw'>end</span></pre>
766
- </td>
767
- </tr>
768
- </table>
769
- </div>
770
-
771
-
772
- <span id="address1=-instance_method"></span>
773
- <div class="method_details ">
774
- <h3 class="signature " id="address1-instance_method">
775
-
776
- #<strong>address1</strong> &#x21d2; <tt>Object</tt>
777
-
778
-
779
-
780
-
781
-
782
- </h3><div class="docstring">
783
- <div class="discussion">
784
-
785
- <p>Returns string First line of contact address for the team</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'></span>
799
-
800
-
801
-
802
-
803
- <div class='inline'>
804
- <p>string First line of contact address for the team</p>
805
- </div>
806
-
807
- </li>
808
-
809
- </ul>
810
-
811
- </div><table class="source_code">
812
- <tr>
813
- <td>
814
- <pre class="lines">
815
-
816
-
817
- 31
818
- 32
819
- 33</pre>
820
- </td>
821
- <td>
822
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 31</span>
823
-
824
- <span class='kw'>def</span> <span class='id identifier rubyid_address1'>address1</span>
825
- <span class='ivar'>@address1</span>
826
- <span class='kw'>end</span></pre>
827
- </td>
828
- </tr>
829
- </table>
830
- </div>
831
-
832
-
833
- <span id="address2=-instance_method"></span>
834
- <div class="method_details ">
835
- <h3 class="signature " id="address2-instance_method">
836
-
837
- #<strong>address2</strong> &#x21d2; <tt>Object</tt>
838
-
839
-
840
-
841
-
842
-
843
- </h3><div class="docstring">
844
- <div class="discussion">
845
-
846
- <p>Returns string Second line of contact address for the team</p>
847
-
848
-
849
- </div>
850
- </div>
851
- <div class="tags">
852
-
853
- <p class="tag_title">Returns:</p>
854
- <ul class="return">
855
-
856
- <li>
857
-
858
-
859
- <span class='type'></span>
860
-
861
-
862
-
863
-
864
- <div class='inline'>
865
- <p>string Second line of contact address for the team</p>
866
- </div>
867
-
868
- </li>
869
-
870
- </ul>
871
-
872
- </div><table class="source_code">
873
- <tr>
874
- <td>
875
- <pre class="lines">
876
-
877
-
878
- 38
879
- 39
880
- 40</pre>
881
- </td>
882
- <td>
883
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 38</span>
884
-
885
- <span class='kw'>def</span> <span class='id identifier rubyid_address2'>address2</span>
886
- <span class='ivar'>@address2</span>
887
- <span class='kw'>end</span></pre>
888
- </td>
889
- </tr>
890
- </table>
891
- </div>
892
-
893
-
894
- <span id="alt_email=-instance_method"></span>
895
- <div class="method_details ">
896
- <h3 class="signature " id="alt_email-instance_method">
897
-
898
- #<strong>alt_email</strong> &#x21d2; <tt>Object</tt>
899
-
900
-
901
-
902
-
903
-
904
- </h3><div class="docstring">
905
- <div class="discussion">
906
-
907
- <p>Returns string Alternate contact email address for the team</p>
908
-
909
-
910
- </div>
911
- </div>
912
- <div class="tags">
913
-
914
- <p class="tag_title">Returns:</p>
915
- <ul class="return">
916
-
917
- <li>
918
-
919
-
920
- <span class='type'></span>
921
-
922
-
923
-
924
-
925
- <div class='inline'>
926
- <p>string Alternate contact email address for the team</p>
927
- </div>
928
-
929
- </li>
930
-
931
- </ul>
932
-
933
- </div><table class="source_code">
934
- <tr>
935
- <td>
936
- <pre class="lines">
937
-
938
-
939
- 115
940
- 116
941
- 117</pre>
942
- </td>
943
- <td>
944
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 115</span>
945
-
946
- <span class='kw'>def</span> <span class='id identifier rubyid_alt_email'>alt_email</span>
947
- <span class='ivar'>@alt_email</span>
948
- <span class='kw'>end</span></pre>
949
- </td>
950
- </tr>
951
- </table>
952
- </div>
953
-
954
-
955
- <span id="alt_phone=-instance_method"></span>
956
- <div class="method_details ">
957
- <h3 class="signature " id="alt_phone-instance_method">
958
-
959
- #<strong>alt_phone</strong> &#x21d2; <tt>Object</tt>
960
-
961
-
962
-
963
-
964
-
965
- </h3><div class="docstring">
966
- <div class="discussion">
967
-
968
- <p>Returns string Alternate contact phone number for the team</p>
969
-
970
-
971
- </div>
972
- </div>
973
- <div class="tags">
974
-
975
- <p class="tag_title">Returns:</p>
976
- <ul class="return">
977
-
978
- <li>
979
-
980
-
981
- <span class='type'></span>
982
-
983
-
984
-
985
-
986
- <div class='inline'>
987
- <p>string Alternate contact phone number for the team</p>
988
- </div>
989
-
990
- </li>
991
-
992
- </ul>
993
-
994
- </div><table class="source_code">
995
- <tr>
996
- <td>
997
- <pre class="lines">
998
-
999
-
1000
- 108
1001
- 109
1002
- 110</pre>
1003
- </td>
1004
- <td>
1005
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 108</span>
1006
-
1007
- <span class='kw'>def</span> <span class='id identifier rubyid_alt_phone'>alt_phone</span>
1008
- <span class='ivar'>@alt_phone</span>
1009
- <span class='kw'>end</span></pre>
1010
- </td>
1011
- </tr>
1012
- </table>
1013
- </div>
1014
-
1015
-
1016
- <span id="city=-instance_method"></span>
1017
- <div class="method_details ">
1018
- <h3 class="signature " id="city-instance_method">
1019
-
1020
- #<strong>city</strong> &#x21d2; <tt>Object</tt>
1021
-
1022
-
1023
-
1024
-
1025
-
1026
- </h3><div class="docstring">
1027
- <div class="discussion">
1028
-
1029
- <p>Returns string City portion of contact address for the team</p>
1030
-
1031
-
1032
- </div>
1033
- </div>
1034
- <div class="tags">
1035
-
1036
- <p class="tag_title">Returns:</p>
1037
- <ul class="return">
1038
-
1039
- <li>
1040
-
1041
-
1042
- <span class='type'></span>
1043
-
1044
-
1045
-
1046
-
1047
- <div class='inline'>
1048
- <p>string City portion of contact address for the team</p>
1049
- </div>
1050
-
1051
- </li>
1052
-
1053
- </ul>
1054
-
1055
- </div><table class="source_code">
1056
- <tr>
1057
- <td>
1058
- <pre class="lines">
1059
-
1060
-
1061
- 45
1062
- 46
1063
- 47</pre>
1064
- </td>
1065
- <td>
1066
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 45</span>
1067
-
1068
- <span class='kw'>def</span> <span class='id identifier rubyid_city'>city</span>
1069
- <span class='ivar'>@city</span>
1070
- <span class='kw'>end</span></pre>
1071
- </td>
1072
- </tr>
1073
- </table>
1074
- </div>
1075
-
1076
-
1077
- <span id="description=-instance_method"></span>
1078
- <div class="method_details ">
1079
- <h3 class="signature " id="description-instance_method">
1080
-
1081
- #<strong>description</strong> &#x21d2; <tt>Object</tt>
1082
-
1083
-
1084
-
1085
-
1086
-
1087
- </h3><div class="docstring">
1088
- <div class="discussion">
1089
-
1090
- <p>Returns string Description of the team. can contain embedded HTML</p>
1091
-
1092
-
1093
- </div>
1094
- </div>
1095
- <div class="tags">
1096
-
1097
- <p class="tag_title">Returns:</p>
1098
- <ul class="return">
1099
-
1100
- <li>
1101
-
1102
-
1103
- <span class='type'></span>
1104
-
1105
-
1106
-
1107
-
1108
- <div class='inline'>
1109
- <p>string Description of the team. can contain embedded HTML</p>
1110
- </div>
1111
-
1112
- </li>
1113
-
1114
- </ul>
1115
-
1116
- </div><table class="source_code">
1117
- <tr>
1118
- <td>
1119
- <pre class="lines">
1120
-
1121
-
1122
- 94
1123
- 95
1124
- 96</pre>
1125
- </td>
1126
- <td>
1127
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 94</span>
1128
-
1129
- <span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
1130
- <span class='ivar'>@description</span>
1131
- <span class='kw'>end</span></pre>
1132
- </td>
1133
- </tr>
1134
- </table>
1135
- </div>
1136
-
1137
-
1138
- <span id="email=-instance_method"></span>
1139
- <div class="method_details ">
1140
- <h3 class="signature " id="email-instance_method">
1141
-
1142
- #<strong>email</strong> &#x21d2; <tt>Object</tt>
1143
-
1144
-
1145
-
1146
-
1147
-
1148
- </h3><div class="docstring">
1149
- <div class="discussion">
1150
-
1151
- <p>Returns string Contact email address for the team</p>
1152
-
1153
-
1154
- </div>
1155
- </div>
1156
- <div class="tags">
1157
-
1158
- <p class="tag_title">Returns:</p>
1159
- <ul class="return">
1160
-
1161
- <li>
1162
-
1163
-
1164
- <span class='type'></span>
1165
-
1166
-
1167
-
1168
-
1169
- <div class='inline'>
1170
- <p>string Contact email address for the team</p>
1171
- </div>
1172
-
1173
- </li>
1174
-
1175
- </ul>
1176
-
1177
- </div><table class="source_code">
1178
- <tr>
1179
- <td>
1180
- <pre class="lines">
1181
-
1182
-
1183
- 24
1184
- 25
1185
- 26</pre>
1186
- </td>
1187
- <td>
1188
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 24</span>
1189
-
1190
- <span class='kw'>def</span> <span class='id identifier rubyid_email'>email</span>
1191
- <span class='ivar'>@email</span>
1192
- <span class='kw'>end</span></pre>
1193
- </td>
1194
- </tr>
1195
- </table>
1196
- </div>
1197
-
1198
-
1199
- <span id="fax=-instance_method"></span>
1200
- <div class="method_details ">
1201
- <h3 class="signature " id="fax-instance_method">
1202
-
1203
- #<strong>fax</strong> &#x21d2; <tt>Object</tt>
1204
-
1205
-
1206
-
1207
-
1208
-
1209
- </h3><div class="docstring">
1210
- <div class="discussion">
1211
-
1212
- <p>Returns string fax number for the team</p>
1213
-
1214
-
1215
- </div>
1216
- </div>
1217
- <div class="tags">
1218
-
1219
- <p class="tag_title">Returns:</p>
1220
- <ul class="return">
1221
-
1222
- <li>
1223
-
1224
-
1225
- <span class='type'></span>
1226
-
1227
-
1228
-
1229
-
1230
- <div class='inline'>
1231
- <p>string fax number for the team</p>
1232
- </div>
1233
-
1234
- </li>
1235
-
1236
- </ul>
1237
-
1238
- </div><table class="source_code">
1239
- <tr>
1240
- <td>
1241
- <pre class="lines">
1242
-
1243
-
1244
- 73
1245
- 74
1246
- 75</pre>
1247
- </td>
1248
- <td>
1249
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 73</span>
1250
-
1251
- <span class='kw'>def</span> <span class='id identifier rubyid_fax'>fax</span>
1252
- <span class='ivar'>@fax</span>
1253
- <span class='kw'>end</span></pre>
1254
- </td>
1255
- </tr>
1256
- </table>
1257
- </div>
1258
-
1259
-
1260
- <span id="logo_url=-instance_method"></span>
1261
- <div class="method_details ">
1262
- <h3 class="signature " id="logo_url-instance_method">
1263
-
1264
- #<strong>logo_url</strong> &#x21d2; <tt>Object</tt>
1265
-
1266
-
1267
-
1268
-
1269
-
1270
- </h3><div class="docstring">
1271
- <div class="discussion">
1272
-
1273
- <p>Returns string URL to a logo image for the team</p>
1274
-
1275
-
1276
- </div>
1277
- </div>
1278
- <div class="tags">
1279
-
1280
- <p class="tag_title">Returns:</p>
1281
- <ul class="return">
1282
-
1283
- <li>
1284
-
1285
-
1286
- <span class='type'></span>
1287
-
1288
-
1289
-
1290
-
1291
- <div class='inline'>
1292
- <p>string URL to a logo image for the team</p>
1293
- </div>
1294
-
1295
- </li>
1296
-
1297
- </ul>
1298
-
1299
- </div><table class="source_code">
1300
- <tr>
1301
- <td>
1302
- <pre class="lines">
1303
-
1304
-
1305
- 80
1306
- 81
1307
- 82</pre>
1308
- </td>
1309
- <td>
1310
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 80</span>
1311
-
1312
- <span class='kw'>def</span> <span class='id identifier rubyid_logo_url'>logo_url</span>
1313
- <span class='ivar'>@logo_url</span>
1314
- <span class='kw'>end</span></pre>
1315
- </td>
1316
- </tr>
1317
- </table>
1318
- </div>
1319
-
1320
-
1321
- <span id="name=-instance_method"></span>
1322
- <div class="method_details ">
1323
- <h3 class="signature " id="name-instance_method">
1324
-
1325
- #<strong>name</strong> &#x21d2; <tt>Object</tt>
1326
-
1327
-
1328
-
1329
-
1330
-
1331
- </h3><div class="docstring">
1332
- <div class="discussion">
1333
-
1334
- <p>Returns string The human readable name of the team</p>
1335
-
1336
-
1337
- </div>
1338
- </div>
1339
- <div class="tags">
1340
-
1341
- <p class="tag_title">Returns:</p>
1342
- <ul class="return">
1343
-
1344
- <li>
1345
-
1346
-
1347
- <span class='type'></span>
1348
-
1349
-
1350
-
1351
-
1352
- <div class='inline'>
1353
- <p>string The human readable name of the team</p>
1354
- </div>
1355
-
1356
- </li>
1357
-
1358
- </ul>
1359
-
1360
- </div><table class="source_code">
1361
- <tr>
1362
- <td>
1363
- <pre class="lines">
1364
-
1365
-
1366
- 17
1367
- 18
1368
- 19</pre>
1369
- </td>
1370
- <td>
1371
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 17</span>
1372
-
1373
- <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
1374
- <span class='ivar'>@name</span>
1375
- <span class='kw'>end</span></pre>
1376
- </td>
1377
- </tr>
1378
- </table>
1379
- </div>
1380
-
1381
-
1382
- <span id="phone=-instance_method"></span>
1383
- <div class="method_details ">
1384
- <h3 class="signature " id="phone-instance_method">
1385
-
1386
- #<strong>phone</strong> &#x21d2; <tt>Object</tt>
1387
-
1388
-
1389
-
1390
-
1391
-
1392
- </h3><div class="docstring">
1393
- <div class="discussion">
1394
-
1395
- <p>Returns string contact phone number for the team</p>
1396
-
1397
-
1398
- </div>
1399
- </div>
1400
- <div class="tags">
1401
-
1402
- <p class="tag_title">Returns:</p>
1403
- <ul class="return">
1404
-
1405
- <li>
1406
-
1407
-
1408
- <span class='type'></span>
1409
-
1410
-
1411
-
1412
-
1413
- <div class='inline'>
1414
- <p>string contact phone number for the team</p>
1415
- </div>
1416
-
1417
- </li>
1418
-
1419
- </ul>
1420
-
1421
- </div><table class="source_code">
1422
- <tr>
1423
- <td>
1424
- <pre class="lines">
1425
-
1426
-
1427
- 66
1428
- 67
1429
- 68</pre>
1430
- </td>
1431
- <td>
1432
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 66</span>
1433
-
1434
- <span class='kw'>def</span> <span class='id identifier rubyid_phone'>phone</span>
1435
- <span class='ivar'>@phone</span>
1436
- <span class='kw'>end</span></pre>
1437
- </td>
1438
- </tr>
1439
- </table>
1440
- </div>
1441
-
1442
-
1443
- <span id="photo_url=-instance_method"></span>
1444
- <div class="method_details ">
1445
- <h3 class="signature " id="photo_url-instance_method">
1446
-
1447
- #<strong>photo_url</strong> &#x21d2; <tt>Object</tt>
1448
-
1449
-
1450
-
1451
-
1452
-
1453
- </h3><div class="docstring">
1454
- <div class="discussion">
1455
-
1456
- <p>Returns string First URL to a image representing the team</p>
1457
-
1458
-
1459
- </div>
1460
- </div>
1461
- <div class="tags">
1462
-
1463
- <p class="tag_title">Returns:</p>
1464
- <ul class="return">
1465
-
1466
- <li>
1467
-
1468
-
1469
- <span class='type'></span>
1470
-
1471
-
1472
-
1473
-
1474
- <div class='inline'>
1475
- <p>string First URL to a image representing the team</p>
1476
- </div>
1477
-
1478
- </li>
1479
-
1480
- </ul>
1481
-
1482
- </div><table class="source_code">
1483
- <tr>
1484
- <td>
1485
- <pre class="lines">
1486
-
1487
-
1488
- 87
1489
- 88
1490
- 89</pre>
1491
- </td>
1492
- <td>
1493
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 87</span>
1494
-
1495
- <span class='kw'>def</span> <span class='id identifier rubyid_photo_url'>photo_url</span>
1496
- <span class='ivar'>@photo_url</span>
1497
- <span class='kw'>end</span></pre>
1498
- </td>
1499
- </tr>
1500
- </table>
1501
- </div>
1502
-
1503
-
1504
- <span id="social_media_urls=-instance_method"></span>
1505
- <div class="method_details ">
1506
- <h3 class="signature " id="social_media_urls-instance_method">
1507
-
1508
- #<strong>social_media_urls</strong> &#x21d2; <tt>Object</tt>
1509
-
1510
-
1511
-
1512
-
1513
-
1514
- </h3><div class="docstring">
1515
- <div class="discussion">
1516
-
1517
- <p>Returns array Social media URLs associated with the team</p>
1518
-
1519
-
1520
- </div>
1521
- </div>
1522
- <div class="tags">
1523
-
1524
- <p class="tag_title">Returns:</p>
1525
- <ul class="return">
1526
-
1527
- <li>
1528
-
1529
-
1530
- <span class='type'></span>
1531
-
1532
-
1533
-
1534
-
1535
- <div class='inline'>
1536
- <p>array Social media URLs associated with the team</p>
1537
- </div>
1538
-
1539
- </li>
1540
-
1541
- </ul>
1542
-
1543
- </div><table class="source_code">
1544
- <tr>
1545
- <td>
1546
- <pre class="lines">
1547
-
1548
-
1549
- 101
1550
- 102
1551
- 103</pre>
1552
- </td>
1553
- <td>
1554
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 101</span>
1555
-
1556
- <span class='kw'>def</span> <span class='id identifier rubyid_social_media_urls'>social_media_urls</span>
1557
- <span class='ivar'>@social_media_urls</span>
1558
- <span class='kw'>end</span></pre>
1559
- </td>
1560
- </tr>
1561
- </table>
1562
- </div>
1563
-
1564
-
1565
- <span id="state=-instance_method"></span>
1566
- <div class="method_details ">
1567
- <h3 class="signature " id="state-instance_method">
1568
-
1569
- #<strong>state</strong> &#x21d2; <tt>Object</tt>
1570
-
1571
-
1572
-
1573
-
1574
-
1575
- </h3><div class="docstring">
1576
- <div class="discussion">
1577
-
1578
- <p>Returns string State portion of contact address for the team</p>
1579
-
1580
-
1581
- </div>
1582
- </div>
1583
- <div class="tags">
1584
-
1585
- <p class="tag_title">Returns:</p>
1586
- <ul class="return">
1587
-
1588
- <li>
1589
-
1590
-
1591
- <span class='type'></span>
1592
-
1593
-
1594
-
1595
-
1596
- <div class='inline'>
1597
- <p>string State portion of contact address for the team</p>
1598
- </div>
1599
-
1600
- </li>
1601
-
1602
- </ul>
1603
-
1604
- </div><table class="source_code">
1605
- <tr>
1606
- <td>
1607
- <pre class="lines">
1608
-
1609
-
1610
- 52
1611
- 53
1612
- 54</pre>
1613
- </td>
1614
- <td>
1615
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 52</span>
1616
-
1617
- <span class='kw'>def</span> <span class='id identifier rubyid_state'>state</span>
1618
- <span class='ivar'>@state</span>
1619
- <span class='kw'>end</span></pre>
1620
- </td>
1621
- </tr>
1622
- </table>
1623
- </div>
1624
-
1625
-
1626
- <span id="uuid=-instance_method"></span>
1627
- <div class="method_details ">
1628
- <h3 class="signature " id="uuid-instance_method">
1629
-
1630
- #<strong>uuid</strong> &#x21d2; <tt>Object</tt>
1631
-
1632
-
1633
-
1634
-
1635
-
1636
- </h3><div class="docstring">
1637
- <div class="discussion">
1638
-
1639
- <p>Returns string The unique ID of the Team</p>
1640
-
1641
-
1642
- </div>
1643
- </div>
1644
- <div class="tags">
1645
-
1646
- <p class="tag_title">Returns:</p>
1647
- <ul class="return">
1648
-
1649
- <li>
1650
-
1651
-
1652
- <span class='type'></span>
1653
-
1654
-
1655
-
1656
-
1657
- <div class='inline'>
1658
- <p>string The unique ID of the Team</p>
1659
- </div>
1660
-
1661
- </li>
1662
-
1663
- </ul>
1664
-
1665
- </div><table class="source_code">
1666
- <tr>
1667
- <td>
1668
- <pre class="lines">
1669
-
1670
-
1671
- 10
1672
- 11
1673
- 12</pre>
1674
- </td>
1675
- <td>
1676
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 10</span>
1677
-
1678
- <span class='kw'>def</span> <span class='id identifier rubyid_uuid'>uuid</span>
1679
- <span class='ivar'>@uuid</span>
1680
- <span class='kw'>end</span></pre>
1681
- </td>
1682
- </tr>
1683
- </table>
1684
- </div>
1685
-
1686
-
1687
- <span id="website_url=-instance_method"></span>
1688
- <div class="method_details ">
1689
- <h3 class="signature " id="website_url-instance_method">
1690
-
1691
- #<strong>website_url</strong> &#x21d2; <tt>Object</tt>
1692
-
1693
-
1694
-
1695
-
1696
-
1697
- </h3><div class="docstring">
1698
- <div class="discussion">
1699
-
1700
- <p>Returns string URL to the website for the team</p>
1701
-
1702
-
1703
- </div>
1704
- </div>
1705
- <div class="tags">
1706
-
1707
- <p class="tag_title">Returns:</p>
1708
- <ul class="return">
1709
-
1710
- <li>
1711
-
1712
-
1713
- <span class='type'></span>
1714
-
1715
-
1716
-
1717
-
1718
- <div class='inline'>
1719
- <p>string URL to the website for the team</p>
1720
- </div>
1721
-
1722
- </li>
1723
-
1724
- </ul>
1725
-
1726
- </div><table class="source_code">
1727
- <tr>
1728
- <td>
1729
- <pre class="lines">
1730
-
1731
-
1732
- 122
1733
- 123
1734
- 124</pre>
1735
- </td>
1736
- <td>
1737
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 122</span>
1738
-
1739
- <span class='kw'>def</span> <span class='id identifier rubyid_website_url'>website_url</span>
1740
- <span class='ivar'>@website_url</span>
1741
- <span class='kw'>end</span></pre>
1742
- </td>
1743
- </tr>
1744
- </table>
1745
- </div>
1746
-
1747
-
1748
- <span id="zipcode=-instance_method"></span>
1749
- <div class="method_details ">
1750
- <h3 class="signature " id="zipcode-instance_method">
1751
-
1752
- #<strong>zipcode</strong> &#x21d2; <tt>Object</tt>
1753
-
1754
-
1755
-
1756
-
1757
-
1758
- </h3><div class="docstring">
1759
- <div class="discussion">
1760
-
1761
- <p>Returns string Postal Code portion of the contact address for the team</p>
1762
-
1763
-
1764
- </div>
1765
- </div>
1766
- <div class="tags">
1767
-
1768
- <p class="tag_title">Returns:</p>
1769
- <ul class="return">
1770
-
1771
- <li>
1772
-
1773
-
1774
- <span class='type'></span>
1775
-
1776
-
1777
-
1778
-
1779
- <div class='inline'>
1780
- <p>string Postal Code portion of the contact address for the team</p>
1781
- </div>
1782
-
1783
- </li>
1784
-
1785
- </ul>
1786
-
1787
- </div><table class="source_code">
1788
- <tr>
1789
- <td>
1790
- <pre class="lines">
1791
-
1792
-
1793
- 59
1794
- 60
1795
- 61</pre>
1796
- </td>
1797
- <td>
1798
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 59</span>
1799
-
1800
- <span class='kw'>def</span> <span class='id identifier rubyid_zipcode'>zipcode</span>
1801
- <span class='ivar'>@zipcode</span>
1802
- <span class='kw'>end</span></pre>
1803
- </td>
1804
- </tr>
1805
- </table>
1806
- </div>
1807
-
1808
- </div>
1809
-
1810
-
1811
- <div id="class_method_details" class="method_details_list">
1812
- <h2>Class Method Details</h2>
1813
-
1814
-
1815
- <div class="method_details first">
1816
- <h3 class="signature first" id="find-class_method">
1817
-
1818
- .<strong>find</strong>(opts = {}) &#x21d2; <tt><span class='object_link'><a href="" title="MoxiworksPlatform::Team (class)">MoxiworksPlatform::Team</a></span></tt>
1819
-
1820
-
1821
-
1822
-
1823
-
1824
- </h3><div class="docstring">
1825
- <div class="discussion">
1826
-
1827
- <p>Find a Team by ID in Moxi Works Platform</p>
1828
-
1829
-
1830
- </div>
1831
- </div>
1832
- <div class="tags">
1833
- <p class="tag_title">Parameters:</p>
1834
- <ul class="param">
1835
-
1836
- <li>
1837
-
1838
- <span class='name'>opts</span>
1839
-
1840
-
1841
- <span class='type'>(<tt>Hash</tt>)</span>
1842
-
1843
-
1844
- <em class="default">(defaults to: <tt>{}</tt>)</em>
1845
-
1846
-
1847
- &mdash;
1848
- <div class='inline'>
1849
- <p>named parameter Hash</p>
1850
- </div>
1851
-
1852
- </li>
1853
-
1854
- </ul>
1855
-
1856
-
1857
-
1858
-
1859
- <p class="tag_title">Options Hash (<tt>opts</tt>):</p>
1860
- <ul class="option">
1861
-
1862
- <li>
1863
- <span class="name">:moxi_works_team_id</span>
1864
- <span class="type">(<tt>String</tt>)</span>
1865
- <span class="default">
1866
-
1867
- </span>
1868
-
1869
- &mdash; <div class='inline'>
1870
- <p><strong>REQUIRED</strong> The Moxi Works TEam ID</p>
1871
- </div>
1872
-
1873
- </li>
1874
-
1875
- </ul>
1876
-
1877
-
1878
- <p class="tag_title">Returns:</p>
1879
- <ul class="return">
1880
-
1881
- <li>
1882
-
1883
-
1884
- <span class='type'>(<tt><span class='object_link'><a href="" title="MoxiworksPlatform::Team (class)">MoxiworksPlatform::Team</a></span></tt>)</span>
1885
-
1886
-
1887
-
1888
- </li>
1889
-
1890
- </ul>
1891
- <p class="tag_title">Raises:</p>
1892
- <ul class="raise">
1893
-
1894
- <li>
1895
-
1896
-
1897
- <span class='type'></span>
1898
-
1899
-
1900
-
1901
-
1902
- <div class='inline'>
1903
- <p>::MoxiworksPlatform::Exception::ArgumentError if required named parameters
1904
- aren&#39;t included</p>
1905
- </div>
1906
-
1907
- </li>
1908
-
1909
- </ul>
1910
-
1911
- </div><table class="source_code">
1912
- <tr>
1913
- <td>
1914
- <pre class="lines">
1915
-
1916
-
1917
- 140
1918
- 141
1919
- 142
1920
- 143
1921
- 144
1922
- 145
1923
- 146
1924
- 147
1925
- 148
1926
- 149
1927
- 150</pre>
1928
- </td>
1929
- <td>
1930
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 140</span>
1931
-
1932
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</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>
1933
- <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>
1934
- <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>arguments must be passed as named parameters</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Hash</span>
1935
- <span class='id identifier rubyid_required_opts'>required_opts</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:moxi_works_team_id</span><span class='rbracket'>]</span>
1936
- <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>
1937
- <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>
1938
- <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>
1939
- <span class='kw'>end</span>
1940
- <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/teams/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:moxi_works_team_id</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
1941
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='symbol'>:get</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span>
1942
- <span class='kw'>end</span></pre>
1943
- </td>
1944
- </tr>
1945
- </table>
1946
- </div>
1947
-
1948
- <div class="method_details ">
1949
- <h3 class="signature " id="search-class_method">
1950
-
1951
- .<strong>search</strong>(opts = {}) &#x21d2; <tt>Array</tt>
1952
-
1953
-
1954
-
1955
-
1956
-
1957
- </h3><div class="docstring">
1958
- <div class="discussion">
1959
-
1960
- <p>Search For Teams in Moxi Works Platform</p>
1961
-
1962
-
1963
- </div>
1964
- </div>
1965
- <div class="tags">
1966
-
1967
- <div class="examples">
1968
- <p class="tag_title">Examples:</p>
1969
-
1970
-
1971
- <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'>Team</span><span class='period'>.</span><span class='id identifier rubyid_search'>search</span><span class='lparen'>(</span>
1972
- <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>
1973
- <span class='rparen'>)</span></code></pre>
1974
-
1975
-
1976
- <pre class="example code"><code><span class='const'>MoxiworksPlatform</span><span class='op'>::</span><span class='const'>Team</span><span class='period'>.</span><span class='id identifier rubyid_search'>search</span><span class='lparen'>(</span>
1977
- <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='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_teams'>teams</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_teams'>teams</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span> <span class='rbrace'>}</span></code></pre>
1978
-
1979
- </div>
1980
- <p class="tag_title">Parameters:</p>
1981
- <ul class="param">
1982
-
1983
- <li>
1984
-
1985
- <span class='name'>opts</span>
1986
-
1987
-
1988
- <span class='type'>(<tt>Hash</tt>)</span>
1989
-
1990
-
1991
- <em class="default">(defaults to: <tt>{}</tt>)</em>
1992
-
1993
-
1994
- &mdash;
1995
- <div class='inline'>
1996
- <p>named parameter Hash</p>
1997
- </div>
1998
-
1999
- </li>
2000
-
2001
- </ul>
2002
-
2003
-
2004
-
2005
-
2006
- <p class="tag_title">Options Hash (<tt>opts</tt>):</p>
2007
- <ul class="option">
2008
-
2009
- <li>
2010
- <span class="name">:moxi_works_company_id</span>
2011
- <span class="type">(<tt>String</tt>)</span>
2012
- <span class="default">
2013
-
2014
- </span>
2015
-
2016
- &mdash; <div class='inline'>
2017
- <p><strong>REQUIRED</strong> The Moxi Works Company ID For the search (use
2018
- Company.search to determine available moxi_works_company_id)</p>
2019
-
2020
- <p>optional Search parameters</p>
2021
- </div>
2022
-
2023
- </li>
2024
-
2025
- </ul>
2026
-
2027
-
2028
- <p class="tag_title">Returns:</p>
2029
- <ul class="return">
2030
-
2031
- <li>
2032
-
2033
-
2034
- <span class='type'>(<tt>Array</tt>)</span>
2035
-
2036
-
2037
-
2038
- &mdash;
2039
- <div class='inline'>
2040
- <p>with the format:</p>
2041
- </div>
2042
-
2043
- </li>
2044
-
2045
- </ul>
2046
- <p class="tag_title">Raises:</p>
2047
- <ul class="raise">
2048
-
2049
- <li>
2050
-
2051
-
2052
- <span class='type'></span>
2053
-
2054
-
2055
-
2056
-
2057
- <div class='inline'>
2058
- <p>::MoxiworksPlatform::Exception::ArgumentError if required named parameters
2059
- aren&#39;t included</p>
2060
- </div>
2061
-
2062
- </li>
2063
-
2064
- </ul>
2065
-
2066
- </div><table class="source_code">
2067
- <tr>
2068
- <td>
2069
- <pre class="lines">
2070
-
2071
-
2072
- 180
2073
- 181
2074
- 182
2075
- 183
2076
- 184
2077
- 185
2078
- 186
2079
- 187
2080
- 188
2081
- 189
2082
- 190
2083
- 191
2084
- 192
2085
- 193
2086
- 194
2087
- 195
2088
- 196
2089
- 197
2090
- 198
2091
- 199
2092
- 200
2093
- 201
2094
- 202
2095
- 203
2096
- 204
2097
- 205
2098
- 206</pre>
2099
- </td>
2100
- <td>
2101
- <pre class="code"><span class="info file"># File 'lib/moxiworks_platform/team.rb', line 180</span>
2102
-
2103
- <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>
2104
- <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>
2105
- <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>
2106
- <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>
2107
- <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>
2108
- <span class='kw'>end</span>
2109
-
2110
- <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/teams</span><span class='tstring_end'>&quot;</span></span>
2111
-
2112
- <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>
2113
- <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>
2114
- <span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
2115
- <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>
2116
- <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>
2117
- <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>
2118
- <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>
2119
- <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>
2120
- <span class='id identifier rubyid_json'>json</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_underscore_attribute_names'>underscore_attribute_names</span> <span class='id identifier rubyid_json'>json</span>
2121
- <span class='id identifier rubyid_json'>json</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>
2122
- <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'>Team</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>
2123
- <span class='kw'>end</span>
2124
- <span class='kw'>end</span>
2125
- <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
2126
- <span class='kw'>yield</span><span class='lparen'>(</span><span class='id identifier rubyid_results'>results</span><span class='rparen'>)</span>
2127
- <span class='kw'>end</span>
2128
- <span class='id identifier rubyid_results'>results</span>
2129
- <span class='kw'>end</span></pre>
2130
- </td>
2131
- </tr>
2132
- </table>
2133
- </div>
2134
-
2135
- </div>
2136
-
2137
- </div>
2138
-
2139
- <div id="footer">
2140
- Generated on Fri Apr 20 10:00:16 2018 by
2141
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2142
- 0.9.5 (ruby-2.2.4).
2143
- </div>
2144
-
2145
- </div>
2146
- </body>
2147
- </html>