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.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/Gemfile +2 -0
- data/lib/moxiworks_platform/action_log.rb +31 -2
- data/lib/moxiworks_platform/company.rb +0 -3
- data/lib/moxiworks_platform/contact.rb +5 -6
- data/lib/moxiworks_platform/listing.rb +11 -1
- data/lib/moxiworks_platform/version.rb +1 -1
- data/publish_docs.sh +7 -2
- metadata +2 -28
- data/MoxiworksPlatform/ActionLog.html +0 -1155
- data/MoxiworksPlatform/Agent.html +0 -3668
- data/MoxiworksPlatform/Brand.html +0 -2897
- data/MoxiworksPlatform/BuyerTransaction.html +0 -4703
- data/MoxiworksPlatform/Company.html +0 -678
- data/MoxiworksPlatform/Config.html +0 -323
- data/MoxiworksPlatform/Contact.html +0 -7540
- data/MoxiworksPlatform/Credentials.html +0 -1078
- data/MoxiworksPlatform/EmailCampaign.html +0 -1076
- data/MoxiworksPlatform/Event.html +0 -2987
- data/MoxiworksPlatform/Exception.html +0 -117
- data/MoxiworksPlatform/Exception/ArgumentError.html +0 -146
- data/MoxiworksPlatform/Exception/AuthorizationError.html +0 -134
- data/MoxiworksPlatform/Exception/PlatformError.html +0 -141
- data/MoxiworksPlatform/Exception/RemoteRequestFailure.html +0 -134
- data/MoxiworksPlatform/Gallery.html +0 -877
- data/MoxiworksPlatform/Group.html +0 -941
- data/MoxiworksPlatform/Listing.html +0 -6242
- data/MoxiworksPlatform/Office.html +0 -2144
- data/MoxiworksPlatform/PresentationLog.html +0 -1715
- data/MoxiworksPlatform/Resource.html +0 -1906
- data/MoxiworksPlatform/SellerTransaction.html +0 -4222
- data/MoxiworksPlatform/Session.html +0 -209
- data/MoxiworksPlatform/SoldListing.html +0 -5606
- data/MoxiworksPlatform/Task.html +0 -2351
- data/MoxiworksPlatform/Team.html +0 -2147
@@ -1,1076 +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::EmailCampaign
|
8
|
-
|
9
|
-
— 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::EmailCampaign";
|
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 (E)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../MoxiworksPlatform.html" title="MoxiworksPlatform (module)">MoxiworksPlatform</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">EmailCampaign</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::EmailCampaign
|
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::EmailCampaign</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/email_campaign.rb</dd>
|
102
|
-
</dl>
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
111
|
-
<ul class="summary">
|
112
|
-
|
113
|
-
<li class="public ">
|
114
|
-
<span class="summary_signature">
|
115
|
-
|
116
|
-
<a href="#area-instance_method" title="#area (instance method)">#<strong>area</strong> ⇒ String </a>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
</span>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
<span class="summary_desc"><div class='inline'>
|
134
|
-
<p>the area used for this EmailCampaign.</p>
|
135
|
-
</div></span>
|
136
|
-
|
137
|
-
</li>
|
138
|
-
|
139
|
-
|
140
|
-
<li class="public ">
|
141
|
-
<span class="summary_signature">
|
142
|
-
|
143
|
-
<a href="#email_address-instance_method" title="#email_address (instance method)">#<strong>email_address</strong> ⇒ String </a>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
</span>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
<span class="summary_desc"><div class='inline'>
|
161
|
-
<p>the email address that is configured for this email campaign.</p>
|
162
|
-
</div></span>
|
163
|
-
|
164
|
-
</li>
|
165
|
-
|
166
|
-
|
167
|
-
<li class="public ">
|
168
|
-
<span class="summary_signature">
|
169
|
-
|
170
|
-
<a href="#last_sent-instance_method" title="#last_sent (instance method)">#<strong>last_sent</strong> ⇒ Integer </a>
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
</span>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
<span class="summary_desc"><div class='inline'>
|
188
|
-
<p>the Unix timestamp representing the date/time that the last email of this
|
189
|
-
campaign was sent.</p>
|
190
|
-
</div></span>
|
191
|
-
|
192
|
-
</li>
|
193
|
-
|
194
|
-
|
195
|
-
<li class="public ">
|
196
|
-
<span class="summary_signature">
|
197
|
-
|
198
|
-
<a href="#moxi_works_agent_id-instance_method" title="#moxi_works_agent_id (instance method)">#<strong>moxi_works_agent_id</strong> ⇒ String </a>
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
</span>
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
<span class="summary_desc"><div class='inline'>
|
216
|
-
<p>moxi_works_agent_id is the Moxi Works Platform ID of the agent which an
|
217
|
-
ActionLog entry is or is to be associated with.</p>
|
218
|
-
</div></span>
|
219
|
-
|
220
|
-
</li>
|
221
|
-
|
222
|
-
|
223
|
-
<li class="public ">
|
224
|
-
<span class="summary_signature">
|
225
|
-
|
226
|
-
<a href="#next_scheduled-instance_method" title="#next_scheduled (instance method)">#<strong>next_scheduled</strong> ⇒ Integer </a>
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
</span>
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
<span class="summary_desc"><div class='inline'>
|
244
|
-
<p>the Unix timestamp representing the date/time the next email of this
|
245
|
-
campaign will be sent.</p>
|
246
|
-
</div></span>
|
247
|
-
|
248
|
-
</li>
|
249
|
-
|
250
|
-
|
251
|
-
<li class="public ">
|
252
|
-
<span class="summary_signature">
|
253
|
-
|
254
|
-
<a href="#partner_contact_id-instance_method" title="#partner_contact_id (instance method)">#<strong>partner_contact_id</strong> ⇒ String </a>
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
</span>
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
<span class="summary_desc"><div class='inline'>
|
272
|
-
<p>*your system's* unique ID for the Contact.</p>
|
273
|
-
</div></span>
|
274
|
-
|
275
|
-
</li>
|
276
|
-
|
277
|
-
|
278
|
-
<li class="public ">
|
279
|
-
<span class="summary_signature">
|
280
|
-
|
281
|
-
<a href="#subscribed_at-instance_method" title="#subscribed_at (instance method)">#<strong>subscribed_at</strong> ⇒ Integer </a>
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
</span>
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
<span class="summary_desc"><div class='inline'>
|
299
|
-
<p>the Unix timestamp representing the date/time this campaign was created.</p>
|
300
|
-
</div></span>
|
301
|
-
|
302
|
-
</li>
|
303
|
-
|
304
|
-
|
305
|
-
<li class="public ">
|
306
|
-
<span class="summary_signature">
|
307
|
-
|
308
|
-
<a href="#subscription_type-instance_method" title="#subscription_type (instance method)">#<strong>subscription_type</strong> ⇒ String </a>
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
</span>
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
<span class="summary_desc"><div class='inline'>
|
326
|
-
<p>the type of this EmailCampaign.</p>
|
327
|
-
</div></span>
|
328
|
-
|
329
|
-
</li>
|
330
|
-
|
331
|
-
|
332
|
-
</ul>
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Resource.html" title="MoxiworksPlatform::Resource (class)">Resource</a></span></h3>
|
339
|
-
<p class="inherited"><span class='object_link'><a href="Resource.html#headers-instance_method" title="MoxiworksPlatform::Resource#headers (method)">#headers</a></span></p>
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
<h2>
|
344
|
-
Class Method Summary
|
345
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
346
|
-
</h2>
|
347
|
-
|
348
|
-
<ul class="summary">
|
349
|
-
|
350
|
-
<li class="public ">
|
351
|
-
<span class="summary_signature">
|
352
|
-
|
353
|
-
<a href="#search-class_method" title="search (class method)">.<strong>search</strong>(opts = {}) ⇒ Array </a>
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
</span>
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
<span class="summary_desc"><div class='inline'>
|
368
|
-
<p>Search an Agent's Email Campaigns in Moxi Works Platform.</p>
|
369
|
-
</div></span>
|
370
|
-
|
371
|
-
</li>
|
372
|
-
|
373
|
-
|
374
|
-
</ul>
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Resource.html" title="MoxiworksPlatform::Resource (class)">Resource</a></span></h3>
|
387
|
-
<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#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>
|
388
|
-
<div id="constructor_details" class="method_details_list">
|
389
|
-
<h2>Constructor Details</h2>
|
390
|
-
|
391
|
-
<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>
|
392
|
-
|
393
|
-
</div>
|
394
|
-
<div id="method_missing_details" class="method_details_list">
|
395
|
-
<h2>Dynamic Method Handling</h2>
|
396
|
-
<p class="notice super">
|
397
|
-
This class handles dynamic methods through the <tt>method_missing</tt> method
|
398
|
-
|
399
|
-
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>
|
400
|
-
|
401
|
-
</p>
|
402
|
-
|
403
|
-
</div>
|
404
|
-
|
405
|
-
<div id="instance_attr_details" class="attr_details">
|
406
|
-
<h2>Instance Attribute Details</h2>
|
407
|
-
|
408
|
-
|
409
|
-
<span id="area=-instance_method"></span>
|
410
|
-
<div class="method_details first">
|
411
|
-
<h3 class="signature first" id="area-instance_method">
|
412
|
-
|
413
|
-
#<strong>area</strong> ⇒ <tt>String</tt>
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
</h3><div class="docstring">
|
420
|
-
<div class="discussion">
|
421
|
-
|
422
|
-
<p>the area used for this EmailCampaign</p>
|
423
|
-
|
424
|
-
<p>This will likely be simply a zip code, but allow for arbitrary human
|
425
|
-
readable</p>
|
426
|
-
|
427
|
-
<pre class="code ruby"><code class="ruby">strings referencing geographical locations.</code></pre>
|
428
|
-
|
429
|
-
|
430
|
-
</div>
|
431
|
-
</div>
|
432
|
-
<div class="tags">
|
433
|
-
|
434
|
-
<p class="tag_title">Returns:</p>
|
435
|
-
<ul class="return">
|
436
|
-
|
437
|
-
<li>
|
438
|
-
|
439
|
-
|
440
|
-
<span class='type'>(<tt>String</tt>)</span>
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
</li>
|
445
|
-
|
446
|
-
</ul>
|
447
|
-
|
448
|
-
</div><table class="source_code">
|
449
|
-
<tr>
|
450
|
-
<td>
|
451
|
-
<pre class="lines">
|
452
|
-
|
453
|
-
|
454
|
-
45
|
455
|
-
46
|
456
|
-
47</pre>
|
457
|
-
</td>
|
458
|
-
<td>
|
459
|
-
<pre class="code"><span class="info file"># File 'lib/moxiworks_platform/email_campaign.rb', line 45</span>
|
460
|
-
|
461
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_area'>area</span>
|
462
|
-
<span class='ivar'>@area</span>
|
463
|
-
<span class='kw'>end</span></pre>
|
464
|
-
</td>
|
465
|
-
</tr>
|
466
|
-
</table>
|
467
|
-
</div>
|
468
|
-
|
469
|
-
|
470
|
-
<span id="email_address=-instance_method"></span>
|
471
|
-
<div class="method_details ">
|
472
|
-
<h3 class="signature " id="email_address-instance_method">
|
473
|
-
|
474
|
-
#<strong>email_address</strong> ⇒ <tt>String</tt>
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
</h3><div class="docstring">
|
481
|
-
<div class="discussion">
|
482
|
-
|
483
|
-
<p>the email address that is configured for this email campaign</p>
|
484
|
-
|
485
|
-
|
486
|
-
</div>
|
487
|
-
</div>
|
488
|
-
<div class="tags">
|
489
|
-
|
490
|
-
<p class="tag_title">Returns:</p>
|
491
|
-
<ul class="return">
|
492
|
-
|
493
|
-
<li>
|
494
|
-
|
495
|
-
|
496
|
-
<span class='type'>(<tt>String</tt>)</span>
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
</li>
|
501
|
-
|
502
|
-
</ul>
|
503
|
-
|
504
|
-
</div><table class="source_code">
|
505
|
-
<tr>
|
506
|
-
<td>
|
507
|
-
<pre class="lines">
|
508
|
-
|
509
|
-
|
510
|
-
30
|
511
|
-
31
|
512
|
-
32</pre>
|
513
|
-
</td>
|
514
|
-
<td>
|
515
|
-
<pre class="code"><span class="info file"># File 'lib/moxiworks_platform/email_campaign.rb', line 30</span>
|
516
|
-
|
517
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_email_address'>email_address</span>
|
518
|
-
<span class='ivar'>@email_address</span>
|
519
|
-
<span class='kw'>end</span></pre>
|
520
|
-
</td>
|
521
|
-
</tr>
|
522
|
-
</table>
|
523
|
-
</div>
|
524
|
-
|
525
|
-
|
526
|
-
<span id="last_sent=-instance_method"></span>
|
527
|
-
<div class="method_details ">
|
528
|
-
<h3 class="signature " id="last_sent-instance_method">
|
529
|
-
|
530
|
-
#<strong>last_sent</strong> ⇒ <tt>Integer</tt>
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
</h3><div class="docstring">
|
537
|
-
<div class="discussion">
|
538
|
-
|
539
|
-
<p>the Unix timestamp representing the date/time that the last email of this
|
540
|
-
campaign was sent.</p>
|
541
|
-
|
542
|
-
<p>if no email has been sent for this campaign, the value will be 0</p>
|
543
|
-
|
544
|
-
|
545
|
-
</div>
|
546
|
-
</div>
|
547
|
-
<div class="tags">
|
548
|
-
|
549
|
-
<p class="tag_title">Returns:</p>
|
550
|
-
<ul class="return">
|
551
|
-
|
552
|
-
<li>
|
553
|
-
|
554
|
-
|
555
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
</li>
|
560
|
-
|
561
|
-
</ul>
|
562
|
-
|
563
|
-
</div><table class="source_code">
|
564
|
-
<tr>
|
565
|
-
<td>
|
566
|
-
<pre class="lines">
|
567
|
-
|
568
|
-
|
569
|
-
53</pre>
|
570
|
-
</td>
|
571
|
-
<td>
|
572
|
-
<pre class="code"><span class="info file"># File 'lib/moxiworks_platform/email_campaign.rb', line 53</span>
|
573
|
-
|
574
|
-
<span class='id identifier rubyid_attr_writer'>attr_writer</span> <span class='symbol'>:last_sent</span></pre>
|
575
|
-
</td>
|
576
|
-
</tr>
|
577
|
-
</table>
|
578
|
-
</div>
|
579
|
-
|
580
|
-
|
581
|
-
<span id="moxi_works_agent_id=-instance_method"></span>
|
582
|
-
<div class="method_details ">
|
583
|
-
<h3 class="signature " id="moxi_works_agent_id-instance_method">
|
584
|
-
|
585
|
-
#<strong>moxi_works_agent_id</strong> ⇒ <tt>String</tt>
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
</h3><div class="docstring">
|
592
|
-
<div class="discussion">
|
593
|
-
|
594
|
-
<p>moxi_works_agent_id is the Moxi Works Platform ID of the agent which an
|
595
|
-
ActionLog entry is or is to be associated with.</p>
|
596
|
-
|
597
|
-
<p>this must be set for any Moxi Works Platform transaction</p>
|
598
|
-
|
599
|
-
|
600
|
-
</div>
|
601
|
-
</div>
|
602
|
-
<div class="tags">
|
603
|
-
|
604
|
-
<p class="tag_title">Returns:</p>
|
605
|
-
<ul class="return">
|
606
|
-
|
607
|
-
<li>
|
608
|
-
|
609
|
-
|
610
|
-
<span class='type'>(<tt>String</tt>)</span>
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
—
|
615
|
-
<div class='inline'>
|
616
|
-
<p>the Moxi Works Platform ID of the agent</p>
|
617
|
-
</div>
|
618
|
-
|
619
|
-
</li>
|
620
|
-
|
621
|
-
</ul>
|
622
|
-
|
623
|
-
</div><table class="source_code">
|
624
|
-
<tr>
|
625
|
-
<td>
|
626
|
-
<pre class="lines">
|
627
|
-
|
628
|
-
|
629
|
-
10
|
630
|
-
11
|
631
|
-
12</pre>
|
632
|
-
</td>
|
633
|
-
<td>
|
634
|
-
<pre class="code"><span class="info file"># File 'lib/moxiworks_platform/email_campaign.rb', line 10</span>
|
635
|
-
|
636
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_moxi_works_agent_id'>moxi_works_agent_id</span>
|
637
|
-
<span class='ivar'>@moxi_works_agent_id</span>
|
638
|
-
<span class='kw'>end</span></pre>
|
639
|
-
</td>
|
640
|
-
</tr>
|
641
|
-
</table>
|
642
|
-
</div>
|
643
|
-
|
644
|
-
|
645
|
-
<span id="next_scheduled=-instance_method"></span>
|
646
|
-
<div class="method_details ">
|
647
|
-
<h3 class="signature " id="next_scheduled-instance_method">
|
648
|
-
|
649
|
-
#<strong>next_scheduled</strong> ⇒ <tt>Integer</tt>
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
</h3><div class="docstring">
|
656
|
-
<div class="discussion">
|
657
|
-
|
658
|
-
<p>the Unix timestamp representing the date/time the next email of this
|
659
|
-
campaign will be sent.</p>
|
660
|
-
|
661
|
-
<p>if no email is scheduled to be sent for this campaign, the value will be 0</p>
|
662
|
-
|
663
|
-
|
664
|
-
</div>
|
665
|
-
</div>
|
666
|
-
<div class="tags">
|
667
|
-
|
668
|
-
<p class="tag_title">Returns:</p>
|
669
|
-
<ul class="return">
|
670
|
-
|
671
|
-
<li>
|
672
|
-
|
673
|
-
|
674
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
</li>
|
679
|
-
|
680
|
-
</ul>
|
681
|
-
|
682
|
-
</div><table class="source_code">
|
683
|
-
<tr>
|
684
|
-
<td>
|
685
|
-
<pre class="lines">
|
686
|
-
|
687
|
-
|
688
|
-
61</pre>
|
689
|
-
</td>
|
690
|
-
<td>
|
691
|
-
<pre class="code"><span class="info file"># File 'lib/moxiworks_platform/email_campaign.rb', line 61</span>
|
692
|
-
|
693
|
-
<span class='id identifier rubyid_attr_writer'>attr_writer</span> <span class='symbol'>:next_scheduled</span></pre>
|
694
|
-
</td>
|
695
|
-
</tr>
|
696
|
-
</table>
|
697
|
-
</div>
|
698
|
-
|
699
|
-
|
700
|
-
<span id="partner_contact_id=-instance_method"></span>
|
701
|
-
<div class="method_details ">
|
702
|
-
<h3 class="signature " id="partner_contact_id-instance_method">
|
703
|
-
|
704
|
-
#<strong>partner_contact_id</strong> ⇒ <tt>String</tt>
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
</h3><div class="docstring">
|
711
|
-
<div class="discussion">
|
712
|
-
|
713
|
-
<p>*your system's* unique ID for the Contact</p>
|
714
|
-
|
715
|
-
<p>this must be set for any Moxi Works Platform transaction</p>
|
716
|
-
|
717
|
-
|
718
|
-
</div>
|
719
|
-
</div>
|
720
|
-
<div class="tags">
|
721
|
-
|
722
|
-
<p class="tag_title">Returns:</p>
|
723
|
-
<ul class="return">
|
724
|
-
|
725
|
-
<li>
|
726
|
-
|
727
|
-
|
728
|
-
<span class='type'>(<tt>String</tt>)</span>
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
—
|
733
|
-
<div class='inline'>
|
734
|
-
<p>your system's unique ID for the contact</p>
|
735
|
-
</div>
|
736
|
-
|
737
|
-
</li>
|
738
|
-
|
739
|
-
</ul>
|
740
|
-
|
741
|
-
</div><table class="source_code">
|
742
|
-
<tr>
|
743
|
-
<td>
|
744
|
-
<pre class="lines">
|
745
|
-
|
746
|
-
|
747
|
-
18
|
748
|
-
19
|
749
|
-
20</pre>
|
750
|
-
</td>
|
751
|
-
<td>
|
752
|
-
<pre class="code"><span class="info file"># File 'lib/moxiworks_platform/email_campaign.rb', line 18</span>
|
753
|
-
|
754
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_partner_contact_id'>partner_contact_id</span>
|
755
|
-
<span class='ivar'>@partner_contact_id</span>
|
756
|
-
<span class='kw'>end</span></pre>
|
757
|
-
</td>
|
758
|
-
</tr>
|
759
|
-
</table>
|
760
|
-
</div>
|
761
|
-
|
762
|
-
|
763
|
-
<span id="subscribed_at=-instance_method"></span>
|
764
|
-
<div class="method_details ">
|
765
|
-
<h3 class="signature " id="subscribed_at-instance_method">
|
766
|
-
|
767
|
-
#<strong>subscribed_at</strong> ⇒ <tt>Integer</tt>
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
</h3><div class="docstring">
|
774
|
-
<div class="discussion">
|
775
|
-
|
776
|
-
<p>the Unix timestamp representing the date/time this campaign was created</p>
|
777
|
-
|
778
|
-
|
779
|
-
</div>
|
780
|
-
</div>
|
781
|
-
<div class="tags">
|
782
|
-
|
783
|
-
<p class="tag_title">Returns:</p>
|
784
|
-
<ul class="return">
|
785
|
-
|
786
|
-
<li>
|
787
|
-
|
788
|
-
|
789
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
</li>
|
794
|
-
|
795
|
-
</ul>
|
796
|
-
|
797
|
-
</div><table class="source_code">
|
798
|
-
<tr>
|
799
|
-
<td>
|
800
|
-
<pre class="lines">
|
801
|
-
|
802
|
-
|
803
|
-
36</pre>
|
804
|
-
</td>
|
805
|
-
<td>
|
806
|
-
<pre class="code"><span class="info file"># File 'lib/moxiworks_platform/email_campaign.rb', line 36</span>
|
807
|
-
|
808
|
-
<span class='id identifier rubyid_attr_writer'>attr_writer</span> <span class='symbol'>:subscribed_at</span></pre>
|
809
|
-
</td>
|
810
|
-
</tr>
|
811
|
-
</table>
|
812
|
-
</div>
|
813
|
-
|
814
|
-
|
815
|
-
<span id="subscription_type=-instance_method"></span>
|
816
|
-
<div class="method_details ">
|
817
|
-
<h3 class="signature " id="subscription_type-instance_method">
|
818
|
-
|
819
|
-
#<strong>subscription_type</strong> ⇒ <tt>String</tt>
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
</h3><div class="docstring">
|
826
|
-
<div class="discussion">
|
827
|
-
|
828
|
-
<p>the type of this EmailCampaign</p>
|
829
|
-
|
830
|
-
|
831
|
-
</div>
|
832
|
-
</div>
|
833
|
-
<div class="tags">
|
834
|
-
|
835
|
-
<p class="tag_title">Returns:</p>
|
836
|
-
<ul class="return">
|
837
|
-
|
838
|
-
<li>
|
839
|
-
|
840
|
-
|
841
|
-
<span class='type'>(<tt>String</tt>)</span>
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
</li>
|
846
|
-
|
847
|
-
</ul>
|
848
|
-
|
849
|
-
</div><table class="source_code">
|
850
|
-
<tr>
|
851
|
-
<td>
|
852
|
-
<pre class="lines">
|
853
|
-
|
854
|
-
|
855
|
-
24
|
856
|
-
25
|
857
|
-
26</pre>
|
858
|
-
</td>
|
859
|
-
<td>
|
860
|
-
<pre class="code"><span class="info file"># File 'lib/moxiworks_platform/email_campaign.rb', line 24</span>
|
861
|
-
|
862
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_subscription_type'>subscription_type</span>
|
863
|
-
<span class='ivar'>@subscription_type</span>
|
864
|
-
<span class='kw'>end</span></pre>
|
865
|
-
</td>
|
866
|
-
</tr>
|
867
|
-
</table>
|
868
|
-
</div>
|
869
|
-
|
870
|
-
</div>
|
871
|
-
|
872
|
-
|
873
|
-
<div id="class_method_details" class="method_details_list">
|
874
|
-
<h2>Class Method Details</h2>
|
875
|
-
|
876
|
-
|
877
|
-
<div class="method_details first">
|
878
|
-
<h3 class="signature first" id="search-class_method">
|
879
|
-
|
880
|
-
.<strong>search</strong>(opts = {}) ⇒ <tt>Array</tt>
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
</h3><div class="docstring">
|
887
|
-
<div class="discussion">
|
888
|
-
|
889
|
-
<p>Search an Agent's Email Campaigns in Moxi Works Platform</p>
|
890
|
-
|
891
|
-
|
892
|
-
</div>
|
893
|
-
</div>
|
894
|
-
<div class="tags">
|
895
|
-
|
896
|
-
<div class="examples">
|
897
|
-
<p class="tag_title">Examples:</p>
|
898
|
-
|
899
|
-
|
900
|
-
<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'>EmailCampaign</span><span class='period'>.</span><span class='id identifier rubyid_search'>search</span><span class='lparen'>(</span>
|
901
|
-
<span class='label'>moxi_works_agent_id:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>123abc</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
902
|
-
<span class='label'>partner_contact_id:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mySystemsContactID</span><span class='tstring_end'>'</span></span>
|
903
|
-
<span class='rparen'>)</span></code></pre>
|
904
|
-
|
905
|
-
</div>
|
906
|
-
<p class="tag_title">Parameters:</p>
|
907
|
-
<ul class="param">
|
908
|
-
|
909
|
-
<li>
|
910
|
-
|
911
|
-
<span class='name'>opts</span>
|
912
|
-
|
913
|
-
|
914
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
915
|
-
|
916
|
-
|
917
|
-
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
918
|
-
|
919
|
-
|
920
|
-
—
|
921
|
-
<div class='inline'>
|
922
|
-
<p>named parameter Hash</p>
|
923
|
-
</div>
|
924
|
-
|
925
|
-
</li>
|
926
|
-
|
927
|
-
</ul>
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
<p class="tag_title">Options Hash (<tt>opts</tt>):</p>
|
933
|
-
<ul class="option">
|
934
|
-
|
935
|
-
<li>
|
936
|
-
<span class="name">:moxi_works_agent_id</span>
|
937
|
-
<span class="type">(<tt>String</tt>)</span>
|
938
|
-
<span class="default">
|
939
|
-
|
940
|
-
</span>
|
941
|
-
|
942
|
-
— <div class='inline'>
|
943
|
-
<p><strong>REQUIRED</strong> The Moxi Works Agent ID for the agent to which
|
944
|
-
this contact is associated</p>
|
945
|
-
</div>
|
946
|
-
|
947
|
-
</li>
|
948
|
-
|
949
|
-
<li>
|
950
|
-
<span class="name">:partner_contact_id</span>
|
951
|
-
<span class="type">(<tt>String</tt>)</span>
|
952
|
-
<span class="default">
|
953
|
-
|
954
|
-
</span>
|
955
|
-
|
956
|
-
— <div class='inline'>
|
957
|
-
<p><strong>REQUIRED</strong> Your system's unique ID for this contact.</p>
|
958
|
-
</div>
|
959
|
-
|
960
|
-
</li>
|
961
|
-
|
962
|
-
</ul>
|
963
|
-
|
964
|
-
|
965
|
-
<p class="tag_title">Returns:</p>
|
966
|
-
<ul class="return">
|
967
|
-
|
968
|
-
<li>
|
969
|
-
|
970
|
-
|
971
|
-
<span class='type'>(<tt>Array</tt>)</span>
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
—
|
976
|
-
<div class='inline'>
|
977
|
-
<p>containing MoxiworkPlatform::EmailCampaign objects</p>
|
978
|
-
</div>
|
979
|
-
|
980
|
-
</li>
|
981
|
-
|
982
|
-
</ul>
|
983
|
-
<p class="tag_title">Raises:</p>
|
984
|
-
<ul class="raise">
|
985
|
-
|
986
|
-
<li>
|
987
|
-
|
988
|
-
|
989
|
-
<span class='type'></span>
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
<div class='inline'>
|
995
|
-
<p>::MoxiworksPlatform::Exception::ArgumentError if required named parameters
|
996
|
-
aren't included</p>
|
997
|
-
</div>
|
998
|
-
|
999
|
-
</li>
|
1000
|
-
|
1001
|
-
</ul>
|
1002
|
-
|
1003
|
-
</div><table class="source_code">
|
1004
|
-
<tr>
|
1005
|
-
<td>
|
1006
|
-
<pre class="lines">
|
1007
|
-
|
1008
|
-
|
1009
|
-
79
|
1010
|
-
80
|
1011
|
-
81
|
1012
|
-
82
|
1013
|
-
83
|
1014
|
-
84
|
1015
|
-
85
|
1016
|
-
86
|
1017
|
-
87
|
1018
|
-
88
|
1019
|
-
89
|
1020
|
-
90
|
1021
|
-
91
|
1022
|
-
92
|
1023
|
-
93
|
1024
|
-
94
|
1025
|
-
95
|
1026
|
-
96
|
1027
|
-
97
|
1028
|
-
98
|
1029
|
-
99
|
1030
|
-
100
|
1031
|
-
101</pre>
|
1032
|
-
</td>
|
1033
|
-
<td>
|
1034
|
-
<pre class="code"><span class="info file"># File 'lib/moxiworks_platform/email_campaign.rb', line 79</span>
|
1035
|
-
|
1036
|
-
<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>
|
1037
|
-
<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>
|
1038
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>arguments must be passed as named parameters</span><span class='tstring_end'>'</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>
|
1039
|
-
<span class='id identifier rubyid_url'>url</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>"</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/email_campaigns</span><span class='tstring_end'>"</span></span>
|
1040
|
-
<span class='id identifier rubyid_required_opts'>required_opts</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:moxi_works_agent_id</span><span class='comma'>,</span> <span class='symbol'>:partner_contact_id</span><span class='rbracket'>]</span>
|
1041
|
-
<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>
|
1042
|
-
<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'>"</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'>"</span></span> <span class='kw'>if</span>
|
1043
|
-
<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>
|
1044
|
-
<span class='kw'>end</span>
|
1045
|
-
<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>
|
1046
|
-
<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>
|
1047
|
-
<span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
|
1048
|
-
<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>
|
1049
|
-
<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>
|
1050
|
-
<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>
|
1051
|
-
<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>
|
1052
|
-
<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>
|
1053
|
-
<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>
|
1054
|
-
<span class='id identifier rubyid_results'>results</span> <span class='op'><<</span> <span class='const'>MoxiworksPlatform</span><span class='op'>::</span><span class='const'>EmailCampaign</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>
|
1055
|
-
<span class='kw'>end</span>
|
1056
|
-
<span class='kw'>end</span>
|
1057
|
-
<span class='id identifier rubyid_results'>results</span>
|
1058
|
-
<span class='kw'>end</span></pre>
|
1059
|
-
</td>
|
1060
|
-
</tr>
|
1061
|
-
</table>
|
1062
|
-
</div>
|
1063
|
-
|
1064
|
-
</div>
|
1065
|
-
|
1066
|
-
</div>
|
1067
|
-
|
1068
|
-
<div id="footer">
|
1069
|
-
Generated on Fri Apr 20 10:00:20 2018 by
|
1070
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1071
|
-
0.9.5 (ruby-2.2.4).
|
1072
|
-
</div>
|
1073
|
-
|
1074
|
-
</div>
|
1075
|
-
</body>
|
1076
|
-
</html>
|