pipedrive_ruby 1.0.1.pre15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +30 -0
  3. data/.gitignore +12 -0
  4. data/.rspec +2 -0
  5. data/.rubocop.yml +1156 -0
  6. data/.travis.yml +8 -0
  7. data/CODE_OF_CONDUCT.md +49 -0
  8. data/Gemfile +4 -0
  9. data/Guardfile +56 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +59 -0
  12. data/Rakefile +6 -0
  13. data/bin/console +14 -0
  14. data/bin/setup +8 -0
  15. data/doc/Activities.html +138 -0
  16. data/doc/ActivitiesFields.html +134 -0
  17. data/doc/ActivitiesTypes.html +141 -0
  18. data/doc/Authorizations.html +138 -0
  19. data/doc/Currencies.html +143 -0
  20. data/doc/DealsFields.html +146 -0
  21. data/doc/EmailMessages.html +137 -0
  22. data/doc/EmailThreads.html +136 -0
  23. data/doc/Estages.html +137 -0
  24. data/doc/Files.html +139 -0
  25. data/doc/Filters.html +139 -0
  26. data/doc/GlobalMessages.html +134 -0
  27. data/doc/Goals.html +137 -0
  28. data/doc/NoteFields.html +134 -0
  29. data/doc/Notes.html +137 -0
  30. data/doc/OrganizationFields.html +147 -0
  31. data/doc/OrganizationRelationships.html +135 -0
  32. data/doc/PermissionSets.html +134 -0
  33. data/doc/PersonFields.html +146 -0
  34. data/doc/Persons.html +136 -0
  35. data/doc/PipedriveRuby/Activities.html +159 -0
  36. data/doc/PipedriveRuby/ActivitiesFields.html +148 -0
  37. data/doc/PipedriveRuby/ActivitiesTypes.html +148 -0
  38. data/doc/PipedriveRuby/ActivityFields.html +148 -0
  39. data/doc/PipedriveRuby/ActivityTypes.html +148 -0
  40. data/doc/PipedriveRuby/Authorizations.html +231 -0
  41. data/doc/PipedriveRuby/Base.html +456 -0
  42. data/doc/PipedriveRuby/Currencies.html +162 -0
  43. data/doc/PipedriveRuby/DealFields.html +148 -0
  44. data/doc/PipedriveRuby/Deals.html +842 -0
  45. data/doc/PipedriveRuby/HttpFactory.html +1362 -0
  46. data/doc/PipedriveRuby/Organizations.html +148 -0
  47. data/doc/PipedriveRuby/PipedriveClient.html +385 -0
  48. data/doc/PipedriveRuby/Products.html +319 -0
  49. data/doc/PipedriveRuby/PushNotifications.html +159 -0
  50. data/doc/PipedriveRuby/Recents.html +159 -0
  51. data/doc/PipedriveRuby/SearchResults.html +250 -0
  52. data/doc/PipedriveRuby/UserConnections.html +159 -0
  53. data/doc/PipedriveRuby/UserSettings.html +159 -0
  54. data/doc/PipedriveRuby.html +174 -0
  55. data/doc/Pipelines.html +134 -0
  56. data/doc/ProductFields.html +147 -0
  57. data/doc/Products.html +140 -0
  58. data/doc/PushNotifications.html +141 -0
  59. data/doc/Recent.html +134 -0
  60. data/doc/Roles.html +134 -0
  61. data/doc/SearchResults.html +135 -0
  62. data/doc/UserConnections.html +134 -0
  63. data/doc/UserSettings.html +134 -0
  64. data/doc/Users.html +137 -0
  65. data/doc/_index.html +425 -0
  66. data/doc/class_list.html +51 -0
  67. data/doc/css/common.css +1 -0
  68. data/doc/css/full_list.css +58 -0
  69. data/doc/css/style.css +474 -0
  70. data/doc/file.README.html +160 -0
  71. data/doc/file_list.html +56 -0
  72. data/doc/frames.html +17 -0
  73. data/doc/index.html +160 -0
  74. data/doc/js/app.js +243 -0
  75. data/doc/js/full_list.js +216 -0
  76. data/doc/js/jquery.js +4 -0
  77. data/doc/method_list.html +411 -0
  78. data/doc/top-level-namespace.html +114 -0
  79. data/lib/http_factory.rb +154 -0
  80. data/lib/pipedrive_client.rb +24 -0
  81. data/lib/pipedrive_ruby/version.rb +4 -0
  82. data/lib/pipedrive_ruby.rb +48 -0
  83. data/lib/resources/activities.rb +9 -0
  84. data/lib/resources/activitiy_fields.rb +6 -0
  85. data/lib/resources/activity_types.rb +11 -0
  86. data/lib/resources/authorizations.rb +16 -0
  87. data/lib/resources/base.rb +17 -0
  88. data/lib/resources/currencies.rb +13 -0
  89. data/lib/resources/deal_fields.rb +10 -0
  90. data/lib/resources/deals.rb +72 -0
  91. data/lib/resources/email_messages.rb +5 -0
  92. data/lib/resources/email_threads.rb +4 -0
  93. data/lib/resources/files.rb +4 -0
  94. data/lib/resources/filters.rb +4 -0
  95. data/lib/resources/global_messages.rb +3 -0
  96. data/lib/resources/goals.rb +4 -0
  97. data/lib/resources/note_fields.rb +3 -0
  98. data/lib/resources/notes.rb +4 -0
  99. data/lib/resources/organization_fields.rb +8 -0
  100. data/lib/resources/organization_relationships.rb +3 -0
  101. data/lib/resources/organizations.rb +7 -0
  102. data/lib/resources/permission_sets.rb +3 -0
  103. data/lib/resources/person_fields.rb +3 -0
  104. data/lib/resources/persons.rb +4 -0
  105. data/lib/resources/pipelines.rb +3 -0
  106. data/lib/resources/product_fields.rb +8 -0
  107. data/lib/resources/products.rb +29 -0
  108. data/lib/resources/push_notifications.rb +10 -0
  109. data/lib/resources/recents.rb +6 -0
  110. data/lib/resources/roles.rb +3 -0
  111. data/lib/resources/search_results.rb +14 -0
  112. data/lib/resources/stages.rb +4 -0
  113. data/lib/resources/user_connections.rb +7 -0
  114. data/lib/resources/user_settings.rb +6 -0
  115. data/lib/resources/users.rb +5 -0
  116. data/pipedrive_ruby.gemspec +34 -0
  117. metadata +286 -0
@@ -0,0 +1,842 @@
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: PipedriveRuby::Deals
8
+
9
+ &mdash; Documentation by YARD 0.9.0
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 = "PipedriveRuby::Deals";
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 (D)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../PipedriveRuby.html" title="PipedriveRuby (module)">PipedriveRuby</a></span></span>
41
+ &raquo;
42
+ <span class="title">Deals</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: PipedriveRuby::Deals
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="Base.html" title="PipedriveRuby::Base (class)">Base</a></span></span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next"><span class='object_link'><a href="Base.html" title="PipedriveRuby::Base (class)">Base</a></span></li>
80
+
81
+ <li class="next">PipedriveRuby::Deals</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/resources/deals.rb</dd>
102
+ </dl>
103
+
104
+ </div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <p>This class should hold all endpoints that are specific of deals</p>
110
+
111
+
112
+ </div>
113
+ </div>
114
+ <div class="tags">
115
+
116
+
117
+ </div>
118
+
119
+
120
+
121
+
122
+
123
+ <h2>Instance Attribute Summary</h2>
124
+
125
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Base.html" title="PipedriveRuby::Base (class)">Base</a></span></h3>
126
+ <p class="inherited"><span class='object_link'><a href="Base.html#base_url-instance_method" title="PipedriveRuby::Base#base_url (method)">#base_url</a></span>, <span class='object_link'><a href="Base.html#client-instance_method" title="PipedriveRuby::Base#client (method)">#client</a></span>, <span class='object_link'><a href="Base.html#endpoints-instance_method" title="PipedriveRuby::Base#endpoints (method)">#endpoints</a></span></p>
127
+
128
+
129
+
130
+ <h2>
131
+ Instance Method Summary
132
+ <small><a href="#" class="summary_toggle">collapse</a></small>
133
+ </h2>
134
+
135
+ <ul class="summary">
136
+
137
+ <li class="public ">
138
+ <span class="summary_signature">
139
+
140
+ <a href="#activities-instance_method" title="#activities (instance method)">#<strong>activities</strong>(deal) &#x21d2; Object </a>
141
+
142
+
143
+
144
+ </span>
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+ <span class="summary_desc"><div class='inline'></div></span>
155
+
156
+ </li>
157
+
158
+
159
+ <li class="public ">
160
+ <span class="summary_signature">
161
+
162
+ <a href="#add_participant-instance_method" title="#add_participant (instance method)">#<strong>add_participant</strong>(deal, person) &#x21d2; Object </a>
163
+
164
+
165
+
166
+ </span>
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <span class="summary_desc"><div class='inline'></div></span>
177
+
178
+ </li>
179
+
180
+
181
+ <li class="public ">
182
+ <span class="summary_signature">
183
+
184
+ <a href="#add_product-instance_method" title="#add_product (instance method)">#<strong>add_product</strong>(deal, product) &#x21d2; Object </a>
185
+
186
+
187
+
188
+ </span>
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+ <span class="summary_desc"><div class='inline'></div></span>
199
+
200
+ </li>
201
+
202
+
203
+ <li class="public ">
204
+ <span class="summary_signature">
205
+
206
+ <a href="#delete_follower-instance_method" title="#delete_follower (instance method)">#<strong>delete_follower</strong>(deal, user) &#x21d2; Object </a>
207
+
208
+
209
+
210
+ </span>
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+ <span class="summary_desc"><div class='inline'></div></span>
221
+
222
+ </li>
223
+
224
+
225
+ <li class="public ">
226
+ <span class="summary_signature">
227
+
228
+ <a href="#delete_participant-instance_method" title="#delete_participant (instance method)">#<strong>delete_participant</strong>(deal, participant) &#x21d2; Object </a>
229
+
230
+
231
+
232
+ </span>
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+ <span class="summary_desc"><div class='inline'></div></span>
243
+
244
+ </li>
245
+
246
+
247
+ <li class="public ">
248
+ <span class="summary_signature">
249
+
250
+ <a href="#delete_product-instance_method" title="#delete_product (instance method)">#<strong>delete_product</strong>(deal, product) &#x21d2; Object </a>
251
+
252
+
253
+
254
+ </span>
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+ <span class="summary_desc"><div class='inline'></div></span>
265
+
266
+ </li>
267
+
268
+
269
+ <li class="public ">
270
+ <span class="summary_signature">
271
+
272
+ <a href="#emails-instance_method" title="#emails (instance method)">#<strong>emails</strong>(deal) &#x21d2; Object </a>
273
+
274
+
275
+
276
+ </span>
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+ <span class="summary_desc"><div class='inline'></div></span>
287
+
288
+ </li>
289
+
290
+
291
+ <li class="public ">
292
+ <span class="summary_signature">
293
+
294
+ <a href="#find_by_title-instance_method" title="#find_by_title (instance method)">#<strong>find_by_title</strong>(term) &#x21d2; Object </a>
295
+
296
+
297
+
298
+ </span>
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+ <span class="summary_desc"><div class='inline'></div></span>
309
+
310
+ </li>
311
+
312
+
313
+ <li class="public ">
314
+ <span class="summary_signature">
315
+
316
+ <a href="#log-instance_method" title="#log (instance method)">#<strong>log</strong>(deal) &#x21d2; Object </a>
317
+
318
+
319
+
320
+ </span>
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+ <span class="summary_desc"><div class='inline'></div></span>
331
+
332
+ </li>
333
+
334
+
335
+ <li class="public ">
336
+ <span class="summary_signature">
337
+
338
+ <a href="#participants-instance_method" title="#participants (instance method)">#<strong>participants</strong>(deal) &#x21d2; Object </a>
339
+
340
+
341
+
342
+ </span>
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+ <span class="summary_desc"><div class='inline'></div></span>
353
+
354
+ </li>
355
+
356
+
357
+ <li class="public ">
358
+ <span class="summary_signature">
359
+
360
+ <a href="#products-instance_method" title="#products (instance method)">#<strong>products</strong>(deal) &#x21d2; Object </a>
361
+
362
+
363
+
364
+ </span>
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+ <span class="summary_desc"><div class='inline'></div></span>
375
+
376
+ </li>
377
+
378
+
379
+ <li class="public ">
380
+ <span class="summary_signature">
381
+
382
+ <a href="#timeline-instance_method" title="#timeline (instance method)">#<strong>timeline</strong> &#x21d2; Object </a>
383
+
384
+
385
+
386
+ </span>
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+ <span class="summary_desc"><div class='inline'></div></span>
397
+
398
+ </li>
399
+
400
+
401
+ <li class="public ">
402
+ <span class="summary_signature">
403
+
404
+ <a href="#update_product-instance_method" title="#update_product (instance method)">#<strong>update_product</strong>(deal, product) &#x21d2; Object </a>
405
+
406
+
407
+
408
+ </span>
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+ <span class="summary_desc"><div class='inline'></div></span>
419
+
420
+ </li>
421
+
422
+
423
+ </ul>
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Base.html" title="PipedriveRuby::Base (class)">Base</a></span></h3>
436
+ <p class="inherited"><span class='object_link'><a href="Base.html#initialize-instance_method" title="PipedriveRuby::Base#initialize (method)">#initialize</a></span></p>
437
+
438
+ <div id="constructor_details" class="method_details_list">
439
+ <h2>Constructor Details</h2>
440
+
441
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="Base.html#initialize-instance_method" title="PipedriveRuby::Base#initialize (method)">PipedriveRuby::Base</a></span></p>
442
+
443
+ </div>
444
+
445
+
446
+ <div id="instance_method_details" class="method_details_list">
447
+ <h2>Instance Method Details</h2>
448
+
449
+
450
+ <div class="method_details first">
451
+ <h3 class="signature first" id="activities-instance_method">
452
+
453
+ #<strong>activities</strong>(deal) &#x21d2; <tt>Object</tt>
454
+
455
+
456
+
457
+
458
+
459
+ </h3><table class="source_code">
460
+ <tr>
461
+ <td>
462
+ <pre class="lines">
463
+
464
+
465
+ 27
466
+ 28
467
+ 29</pre>
468
+ </td>
469
+ <td>
470
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 27</span>
471
+
472
+ <span class='kw'>def</span> <span class='id identifier rubyid_activities'>activities</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='rparen'>)</span>
473
+ <span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_deal'>deal</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/activities</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
474
+ <span class='kw'>end</span></pre>
475
+ </td>
476
+ </tr>
477
+ </table>
478
+ </div>
479
+
480
+ <div class="method_details ">
481
+ <h3 class="signature " id="add_participant-instance_method">
482
+
483
+ #<strong>add_participant</strong>(deal, person) &#x21d2; <tt>Object</tt>
484
+
485
+
486
+
487
+
488
+
489
+ </h3><table class="source_code">
490
+ <tr>
491
+ <td>
492
+ <pre class="lines">
493
+
494
+
495
+ 35
496
+ 36</pre>
497
+ </td>
498
+ <td>
499
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 35</span>
500
+
501
+ <span class='kw'>def</span> <span class='id identifier rubyid_add_participant'>add_participant</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='comma'>,</span> <span class='id identifier rubyid_person'>person</span><span class='rparen'>)</span>
502
+ <span class='kw'>end</span></pre>
503
+ </td>
504
+ </tr>
505
+ </table>
506
+ </div>
507
+
508
+ <div class="method_details ">
509
+ <h3 class="signature " id="add_product-instance_method">
510
+
511
+ #<strong>add_product</strong>(deal, product) &#x21d2; <tt>Object</tt>
512
+
513
+
514
+
515
+
516
+
517
+ </h3><table class="source_code">
518
+ <tr>
519
+ <td>
520
+ <pre class="lines">
521
+
522
+
523
+ 18
524
+ 19</pre>
525
+ </td>
526
+ <td>
527
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 18</span>
528
+
529
+ <span class='kw'>def</span> <span class='id identifier rubyid_add_product'>add_product</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='comma'>,</span> <span class='id identifier rubyid_product'>product</span><span class='rparen'>)</span>
530
+ <span class='kw'>end</span></pre>
531
+ </td>
532
+ </tr>
533
+ </table>
534
+ </div>
535
+
536
+ <div class="method_details ">
537
+ <h3 class="signature " id="delete_follower-instance_method">
538
+
539
+ #<strong>delete_follower</strong>(deal, user) &#x21d2; <tt>Object</tt>
540
+
541
+
542
+
543
+
544
+
545
+ </h3><table class="source_code">
546
+ <tr>
547
+ <td>
548
+ <pre class="lines">
549
+
550
+
551
+ 9
552
+ 10</pre>
553
+ </td>
554
+ <td>
555
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 9</span>
556
+
557
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete_follower'>delete_follower</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='comma'>,</span> <span class='id identifier rubyid_user'>user</span><span class='rparen'>)</span>
558
+ <span class='kw'>end</span></pre>
559
+ </td>
560
+ </tr>
561
+ </table>
562
+ </div>
563
+
564
+ <div class="method_details ">
565
+ <h3 class="signature " id="delete_participant-instance_method">
566
+
567
+ #<strong>delete_participant</strong>(deal, participant) &#x21d2; <tt>Object</tt>
568
+
569
+
570
+
571
+
572
+
573
+ </h3><table class="source_code">
574
+ <tr>
575
+ <td>
576
+ <pre class="lines">
577
+
578
+
579
+ 42
580
+ 43</pre>
581
+ </td>
582
+ <td>
583
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 42</span>
584
+
585
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete_participant'>delete_participant</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='comma'>,</span> <span class='id identifier rubyid_participant'>participant</span><span class='rparen'>)</span>
586
+ <span class='kw'>end</span></pre>
587
+ </td>
588
+ </tr>
589
+ </table>
590
+ </div>
591
+
592
+ <div class="method_details ">
593
+ <h3 class="signature " id="delete_product-instance_method">
594
+
595
+ #<strong>delete_product</strong>(deal, product) &#x21d2; <tt>Object</tt>
596
+
597
+
598
+
599
+
600
+
601
+ </h3><table class="source_code">
602
+ <tr>
603
+ <td>
604
+ <pre class="lines">
605
+
606
+
607
+ 24
608
+ 25</pre>
609
+ </td>
610
+ <td>
611
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 24</span>
612
+
613
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete_product'>delete_product</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='comma'>,</span> <span class='id identifier rubyid_product'>product</span><span class='rparen'>)</span>
614
+ <span class='kw'>end</span></pre>
615
+ </td>
616
+ </tr>
617
+ </table>
618
+ </div>
619
+
620
+ <div class="method_details ">
621
+ <h3 class="signature " id="emails-instance_method">
622
+
623
+ #<strong>emails</strong>(deal) &#x21d2; <tt>Object</tt>
624
+
625
+
626
+
627
+
628
+
629
+ </h3><table class="source_code">
630
+ <tr>
631
+ <td>
632
+ <pre class="lines">
633
+
634
+
635
+ 45
636
+ 46
637
+ 47</pre>
638
+ </td>
639
+ <td>
640
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 45</span>
641
+
642
+ <span class='kw'>def</span> <span class='id identifier rubyid_emails'>emails</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='rparen'>)</span>
643
+ <span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_deal'>deal</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/emailMessages</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
644
+ <span class='kw'>end</span></pre>
645
+ </td>
646
+ </tr>
647
+ </table>
648
+ </div>
649
+
650
+ <div class="method_details ">
651
+ <h3 class="signature " id="find_by_title-instance_method">
652
+
653
+ #<strong>find_by_title</strong>(term) &#x21d2; <tt>Object</tt>
654
+
655
+
656
+
657
+
658
+
659
+ </h3><table class="source_code">
660
+ <tr>
661
+ <td>
662
+ <pre class="lines">
663
+
664
+
665
+ 49
666
+ 50
667
+ 51</pre>
668
+ </td>
669
+ <td>
670
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 49</span>
671
+
672
+ <span class='kw'>def</span> <span class='id identifier rubyid_find_by_title'>find_by_title</span><span class='lparen'>(</span><span class='id identifier rubyid_term'>term</span><span class='rparen'>)</span>
673
+ <span class='id identifier rubyid_find_by'>find_by</span><span class='lparen'>(</span><span class='id identifier rubyid_term'>term</span><span class='rparen'>)</span>
674
+ <span class='kw'>end</span></pre>
675
+ </td>
676
+ </tr>
677
+ </table>
678
+ </div>
679
+
680
+ <div class="method_details ">
681
+ <h3 class="signature " id="log-instance_method">
682
+
683
+ #<strong>log</strong>(deal) &#x21d2; <tt>Object</tt>
684
+
685
+
686
+
687
+
688
+
689
+ </h3><table class="source_code">
690
+ <tr>
691
+ <td>
692
+ <pre class="lines">
693
+
694
+
695
+ 31
696
+ 32
697
+ 33</pre>
698
+ </td>
699
+ <td>
700
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 31</span>
701
+
702
+ <span class='kw'>def</span> <span class='id identifier rubyid_log'>log</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='rparen'>)</span>
703
+ <span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_deal'>deal</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/flow</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
704
+ <span class='kw'>end</span></pre>
705
+ </td>
706
+ </tr>
707
+ </table>
708
+ </div>
709
+
710
+ <div class="method_details ">
711
+ <h3 class="signature " id="participants-instance_method">
712
+
713
+ #<strong>participants</strong>(deal) &#x21d2; <tt>Object</tt>
714
+
715
+
716
+
717
+
718
+
719
+ </h3><table class="source_code">
720
+ <tr>
721
+ <td>
722
+ <pre class="lines">
723
+
724
+
725
+ 38
726
+ 39
727
+ 40</pre>
728
+ </td>
729
+ <td>
730
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 38</span>
731
+
732
+ <span class='kw'>def</span> <span class='id identifier rubyid_participants'>participants</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='rparen'>)</span>
733
+ <span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_deal'>deal</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/participants</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
734
+ <span class='kw'>end</span></pre>
735
+ </td>
736
+ </tr>
737
+ </table>
738
+ </div>
739
+
740
+ <div class="method_details ">
741
+ <h3 class="signature " id="products-instance_method">
742
+
743
+ #<strong>products</strong>(deal) &#x21d2; <tt>Object</tt>
744
+
745
+
746
+
747
+
748
+
749
+ </h3><table class="source_code">
750
+ <tr>
751
+ <td>
752
+ <pre class="lines">
753
+
754
+
755
+ 12
756
+ 13
757
+ 14
758
+ 15
759
+ 16</pre>
760
+ </td>
761
+ <td>
762
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 12</span>
763
+
764
+ <span class='kw'>def</span> <span class='id identifier rubyid_products'>products</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='rparen'>)</span>
765
+ <span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_deal'>deal</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/products</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
766
+ <span class='symbol'>:params</span> <span class='op'>=&gt;</span> <span class='lbrace'>{</span><span class='symbol'>:include_product_data</span> <span class='op'>=&gt;</span> <span class='int'>1</span><span class='rbrace'>}</span>
767
+ <span class='rparen'>)</span>
768
+ <span class='kw'>end</span></pre>
769
+ </td>
770
+ </tr>
771
+ </table>
772
+ </div>
773
+
774
+ <div class="method_details ">
775
+ <h3 class="signature " id="timeline-instance_method">
776
+
777
+ #<strong>timeline</strong> &#x21d2; <tt>Object</tt>
778
+
779
+
780
+
781
+
782
+
783
+ </h3><table class="source_code">
784
+ <tr>
785
+ <td>
786
+ <pre class="lines">
787
+
788
+
789
+ 53
790
+ 54</pre>
791
+ </td>
792
+ <td>
793
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 53</span>
794
+
795
+ <span class='kw'>def</span> <span class='id identifier rubyid_timeline'>timeline</span>
796
+ <span class='kw'>end</span></pre>
797
+ </td>
798
+ </tr>
799
+ </table>
800
+ </div>
801
+
802
+ <div class="method_details ">
803
+ <h3 class="signature " id="update_product-instance_method">
804
+
805
+ #<strong>update_product</strong>(deal, product) &#x21d2; <tt>Object</tt>
806
+
807
+
808
+
809
+
810
+
811
+ </h3><table class="source_code">
812
+ <tr>
813
+ <td>
814
+ <pre class="lines">
815
+
816
+
817
+ 21
818
+ 22</pre>
819
+ </td>
820
+ <td>
821
+ <pre class="code"><span class="info file"># File 'lib/resources/deals.rb', line 21</span>
822
+
823
+ <span class='kw'>def</span> <span class='id identifier rubyid_update_product'>update_product</span><span class='lparen'>(</span><span class='id identifier rubyid_deal'>deal</span><span class='comma'>,</span> <span class='id identifier rubyid_product'>product</span><span class='rparen'>)</span>
824
+ <span class='kw'>end</span></pre>
825
+ </td>
826
+ </tr>
827
+ </table>
828
+ </div>
829
+
830
+ </div>
831
+
832
+ </div>
833
+
834
+ <div id="footer">
835
+ Generated on Tue Jul 19 12:47:24 2016 by
836
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
837
+ 0.9.0 (ruby-2.2.5).
838
+ </div>
839
+
840
+ </div>
841
+ </body>
842
+ </html>