pipedrive_ruby 1.0.1.pre15 → 1.0.1.pre16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/EmailMessages.html +1 -1
- data/doc/EmailThreads.html +1 -1
- data/doc/Estages.html +1 -1
- data/doc/Files.html +1 -1
- data/doc/Filters.html +1 -1
- data/doc/GlobalMessages.html +1 -1
- data/doc/Goals.html +1 -1
- data/doc/NoteFields.html +1 -1
- data/doc/Notes.html +1 -1
- data/doc/OrganizationFields.html +1 -1
- data/doc/OrganizationRelationships.html +1 -1
- data/doc/PermissionSets.html +1 -1
- data/doc/PersonFields.html +1 -1
- data/doc/Persons.html +1 -1
- data/doc/PipedriveRuby/Activities.html +1 -1
- data/doc/PipedriveRuby/ActivityFields.html +1 -1
- data/doc/PipedriveRuby/ActivityTypes.html +1 -1
- data/doc/PipedriveRuby/Authorizations.html +1 -1
- data/doc/PipedriveRuby/Base.html +1 -1
- data/doc/PipedriveRuby/Currencies.html +1 -1
- data/doc/PipedriveRuby/DealFields.html +1 -1
- data/doc/PipedriveRuby/Deals.html +1 -1
- data/doc/PipedriveRuby/HttpFactory.html +236 -88
- data/doc/PipedriveRuby/Organizations.html +1 -1
- data/doc/PipedriveRuby/PipedriveClient.html +1 -1
- data/doc/PipedriveRuby/Products.html +5 -55
- data/doc/PipedriveRuby/PushNotifications.html +1 -1
- data/doc/PipedriveRuby/Recents.html +1 -1
- data/doc/PipedriveRuby/SearchResults.html +1 -1
- data/doc/PipedriveRuby/UserConnections.html +1 -1
- data/doc/PipedriveRuby/UserSettings.html +1 -1
- data/doc/PipedriveRuby.html +2 -2
- data/doc/Pipelines.html +1 -1
- data/doc/ProductFields.html +1 -1
- data/doc/Roles.html +1 -1
- data/doc/Users.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +29 -13
- data/doc/top-level-namespace.html +1 -1
- data/lib/http_factory.rb +12 -8
- data/lib/pipedrive_ruby/version.rb +1 -1
- metadata +2 -2
@@ -319,6 +319,28 @@
|
|
319
319
|
|
320
320
|
|
321
321
|
|
322
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
323
|
+
|
324
|
+
</li>
|
325
|
+
|
326
|
+
|
327
|
+
<li class="public ">
|
328
|
+
<span class="summary_signature">
|
329
|
+
|
330
|
+
<a href="#custom_delete-instance_method" title="#custom_delete (instance method)">#<strong>custom_delete</strong>(options = {}) ⇒ Object </a>
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
</span>
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
322
344
|
<span class="summary_desc"><div class='inline'></div></span>
|
323
345
|
|
324
346
|
</li>
|
@@ -363,6 +385,50 @@
|
|
363
385
|
|
364
386
|
|
365
387
|
|
388
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
389
|
+
|
390
|
+
</li>
|
391
|
+
|
392
|
+
|
393
|
+
<li class="public ">
|
394
|
+
<span class="summary_signature">
|
395
|
+
|
396
|
+
<a href="#custom_put-instance_method" title="#custom_put (instance method)">#<strong>custom_put</strong>(options = {}) ⇒ Object </a>
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
</span>
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
411
|
+
|
412
|
+
</li>
|
413
|
+
|
414
|
+
|
415
|
+
<li class="public ">
|
416
|
+
<span class="summary_signature">
|
417
|
+
|
418
|
+
<a href="#delete_follower-instance_method" title="#delete_follower (instance method)">#<strong>delete_follower</strong>(resource, follower) ⇒ Object </a>
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
</span>
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
366
432
|
<span class="summary_desc"><div class='inline'></div></span>
|
367
433
|
|
368
434
|
</li>
|
@@ -910,7 +976,7 @@
|
|
910
976
|
|
911
977
|
<span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
912
978
|
<span class='id identifier rubyid_params'>params</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span><span class='id identifier rubyid_default_param'>default_param</span><span class='rparen'>)</span>
|
913
|
-
<span class='id identifier
|
979
|
+
<span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:params</span> <span class='op'>=></span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
914
980
|
<span class='kw'>end</span></pre>
|
915
981
|
</td>
|
916
982
|
</tr>
|
@@ -934,17 +1000,45 @@
|
|
934
1000
|
|
935
1001
|
26
|
936
1002
|
27
|
937
|
-
28
|
938
|
-
29
|
939
|
-
30</pre>
|
1003
|
+
28</pre>
|
940
1004
|
</td>
|
941
1005
|
<td>
|
942
1006
|
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 26</span>
|
943
1007
|
|
944
1008
|
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
|
945
|
-
<span class='id identifier
|
946
|
-
|
947
|
-
|
1009
|
+
<span class='id identifier rubyid_custom_post'>custom_post</span><span class='lparen'>(</span><span class='symbol'>:params</span> <span class='op'>=></span> <span class='id identifier rubyid_default_param'>default_param</span><span class='comma'>,</span> <span class='symbol'>:json</span> <span class='op'>=></span> <span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
|
1010
|
+
<span class='kw'>end</span></pre>
|
1011
|
+
</td>
|
1012
|
+
</tr>
|
1013
|
+
</table>
|
1014
|
+
</div>
|
1015
|
+
|
1016
|
+
<div class="method_details ">
|
1017
|
+
<h3 class="signature " id="custom_delete-instance_method">
|
1018
|
+
|
1019
|
+
#<strong>custom_delete</strong>(options = {}) ⇒ <tt>Object</tt>
|
1020
|
+
|
1021
|
+
|
1022
|
+
|
1023
|
+
|
1024
|
+
|
1025
|
+
</h3><table class="source_code">
|
1026
|
+
<tr>
|
1027
|
+
<td>
|
1028
|
+
<pre class="lines">
|
1029
|
+
|
1030
|
+
|
1031
|
+
45
|
1032
|
+
46
|
1033
|
+
47
|
1034
|
+
48</pre>
|
1035
|
+
</td>
|
1036
|
+
<td>
|
1037
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 45</span>
|
1038
|
+
|
1039
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_custom_delete'>custom_delete</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1040
|
+
<span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='symbol'>:method</span> <span class='op'>=></span> <span class='symbol'>:delete</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1041
|
+
<span class='id identifier rubyid_custom_request'>custom_request</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
948
1042
|
<span class='kw'>end</span></pre>
|
949
1043
|
</td>
|
950
1044
|
</tr>
|
@@ -966,13 +1060,13 @@
|
|
966
1060
|
<pre class="lines">
|
967
1061
|
|
968
1062
|
|
1063
|
+
30
|
1064
|
+
31
|
969
1065
|
32
|
970
|
-
33
|
971
|
-
34
|
972
|
-
35</pre>
|
1066
|
+
33</pre>
|
973
1067
|
</td>
|
974
1068
|
<td>
|
975
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1069
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 30</span>
|
976
1070
|
|
977
1071
|
<span class='kw'>def</span> <span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
978
1072
|
<span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='symbol'>:method</span> <span class='op'>=></span> <span class='symbol'>:get</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
@@ -998,13 +1092,13 @@
|
|
998
1092
|
<pre class="lines">
|
999
1093
|
|
1000
1094
|
|
1095
|
+
35
|
1096
|
+
36
|
1001
1097
|
37
|
1002
|
-
38
|
1003
|
-
39
|
1004
|
-
40</pre>
|
1098
|
+
38</pre>
|
1005
1099
|
</td>
|
1006
1100
|
<td>
|
1007
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1101
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 35</span>
|
1008
1102
|
|
1009
1103
|
<span class='kw'>def</span> <span class='id identifier rubyid_custom_post'>custom_post</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1010
1104
|
<span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='symbol'>:method</span> <span class='op'>=></span> <span class='symbol'>:post</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
@@ -1016,9 +1110,9 @@
|
|
1016
1110
|
</div>
|
1017
1111
|
|
1018
1112
|
<div class="method_details ">
|
1019
|
-
<h3 class="signature " id="
|
1113
|
+
<h3 class="signature " id="custom_put-instance_method">
|
1020
1114
|
|
1021
|
-
#<strong>
|
1115
|
+
#<strong>custom_put</strong>(options = {}) ⇒ <tt>Object</tt>
|
1022
1116
|
|
1023
1117
|
|
1024
1118
|
|
@@ -1030,17 +1124,17 @@
|
|
1030
1124
|
<pre class="lines">
|
1031
1125
|
|
1032
1126
|
|
1127
|
+
40
|
1128
|
+
41
|
1033
1129
|
42
|
1034
|
-
43
|
1035
|
-
44
|
1036
|
-
45</pre>
|
1130
|
+
43</pre>
|
1037
1131
|
</td>
|
1038
1132
|
<td>
|
1039
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1133
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 40</span>
|
1040
1134
|
|
1041
|
-
<span class='kw'>def</span> <span class='id identifier
|
1042
|
-
<span class='id identifier
|
1043
|
-
|
1135
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_custom_put'>custom_put</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1136
|
+
<span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='symbol'>:method</span> <span class='op'>=></span> <span class='symbol'>:put</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1137
|
+
<span class='id identifier rubyid_custom_request'>custom_request</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1044
1138
|
<span class='kw'>end</span></pre>
|
1045
1139
|
</td>
|
1046
1140
|
</tr>
|
@@ -1048,9 +1142,41 @@
|
|
1048
1142
|
</div>
|
1049
1143
|
|
1050
1144
|
<div class="method_details ">
|
1051
|
-
<h3 class="signature " id="
|
1145
|
+
<h3 class="signature " id="delete_follower-instance_method">
|
1052
1146
|
|
1053
|
-
#<strong>
|
1147
|
+
#<strong>delete_follower</strong>(resource, follower) ⇒ <tt>Object</tt>
|
1148
|
+
|
1149
|
+
|
1150
|
+
|
1151
|
+
|
1152
|
+
|
1153
|
+
</h3><table class="source_code">
|
1154
|
+
<tr>
|
1155
|
+
<td>
|
1156
|
+
<pre class="lines">
|
1157
|
+
|
1158
|
+
|
1159
|
+
50
|
1160
|
+
51
|
1161
|
+
52
|
1162
|
+
53</pre>
|
1163
|
+
</td>
|
1164
|
+
<td>
|
1165
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 50</span>
|
1166
|
+
|
1167
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_delete_follower'>delete_follower</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='comma'>,</span> <span class='id identifier rubyid_follower'>follower</span><span class='rparen'>)</span>
|
1168
|
+
<span class='id identifier rubyid_custom_delete'>custom_delete</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/followers/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_follower'>follower</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1169
|
+
<span class='symbol'>:json</span> <span class='op'>=></span> <span class='lbrace'>{</span><span class='symbol'>:id</span> <span class='op'>=></span> <span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:user_id</span> <span class='op'>=></span> <span class='id identifier rubyid_follower'>follower</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
|
1170
|
+
<span class='kw'>end</span></pre>
|
1171
|
+
</td>
|
1172
|
+
</tr>
|
1173
|
+
</table>
|
1174
|
+
</div>
|
1175
|
+
|
1176
|
+
<div class="method_details ">
|
1177
|
+
<h3 class="signature " id="duplicate-instance_method">
|
1178
|
+
|
1179
|
+
#<strong>duplicate</strong>(resource) ⇒ <tt>Object</tt>
|
1054
1180
|
|
1055
1181
|
|
1056
1182
|
|
@@ -1069,6 +1195,36 @@
|
|
1069
1195
|
<td>
|
1070
1196
|
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 55</span>
|
1071
1197
|
|
1198
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_duplicate'>duplicate</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
|
1199
|
+
<span class='id identifier rubyid_custom_post'>custom_post</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/duplicate</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:params</span> <span class='op'>=></span> <span class='id identifier rubyid_default_param'>default_param</span><span class='rparen'>)</span>
|
1200
|
+
<span class='kw'>end</span></pre>
|
1201
|
+
</td>
|
1202
|
+
</tr>
|
1203
|
+
</table>
|
1204
|
+
</div>
|
1205
|
+
|
1206
|
+
<div class="method_details ">
|
1207
|
+
<h3 class="signature " id="files-instance_method">
|
1208
|
+
|
1209
|
+
#<strong>files</strong>(resource) ⇒ <tt>Object</tt>
|
1210
|
+
|
1211
|
+
|
1212
|
+
|
1213
|
+
|
1214
|
+
|
1215
|
+
</h3><table class="source_code">
|
1216
|
+
<tr>
|
1217
|
+
<td>
|
1218
|
+
<pre class="lines">
|
1219
|
+
|
1220
|
+
|
1221
|
+
67
|
1222
|
+
68
|
1223
|
+
69</pre>
|
1224
|
+
</td>
|
1225
|
+
<td>
|
1226
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 67</span>
|
1227
|
+
|
1072
1228
|
<span class='kw'>def</span> <span class='id identifier rubyid_files'>files</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
|
1073
1229
|
<span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/files</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1074
1230
|
<span class='kw'>end</span></pre>
|
@@ -1092,12 +1248,12 @@
|
|
1092
1248
|
<pre class="lines">
|
1093
1249
|
|
1094
1250
|
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1251
|
+
59
|
1252
|
+
60
|
1253
|
+
61</pre>
|
1098
1254
|
</td>
|
1099
1255
|
<td>
|
1100
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1256
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 59</span>
|
1101
1257
|
|
1102
1258
|
<span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span>
|
1103
1259
|
<span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -1122,12 +1278,12 @@
|
|
1122
1278
|
<pre class="lines">
|
1123
1279
|
|
1124
1280
|
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1281
|
+
63
|
1282
|
+
64
|
1283
|
+
65</pre>
|
1128
1284
|
</td>
|
1129
1285
|
<td>
|
1130
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1286
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 63</span>
|
1131
1287
|
|
1132
1288
|
<span class='kw'>def</span> <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>
|
1133
1289
|
<span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>find/</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:params</span> <span class='op'>=></span> <span class='lbrace'>{</span><span class='symbol'>:term</span> <span class='op'>=></span> <span class='id identifier rubyid_term'>term</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
@@ -1152,12 +1308,12 @@
|
|
1152
1308
|
<pre class="lines">
|
1153
1309
|
|
1154
1310
|
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1311
|
+
71
|
1312
|
+
72
|
1313
|
+
73</pre>
|
1158
1314
|
</td>
|
1159
1315
|
<td>
|
1160
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1316
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 71</span>
|
1161
1317
|
|
1162
1318
|
<span class='kw'>def</span> <span class='id identifier rubyid_followers'>followers</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
|
1163
1319
|
<span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/followers</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -1182,27 +1338,29 @@
|
|
1182
1338
|
<pre class="lines">
|
1183
1339
|
|
1184
1340
|
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1341
|
+
75
|
1342
|
+
76
|
1343
|
+
77
|
1344
|
+
78
|
1345
|
+
79
|
1346
|
+
80
|
1347
|
+
81
|
1348
|
+
82
|
1349
|
+
83
|
1350
|
+
84</pre>
|
1194
1351
|
</td>
|
1195
1352
|
<td>
|
1196
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1353
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 75</span>
|
1197
1354
|
|
1198
1355
|
<span class='kw'>def</span> <span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='comma'>,</span> <span class='id identifier rubyid_merge_with_resource'>merge_with_resource</span><span class='rparen'>)</span>
|
1199
1356
|
<span class='id identifier rubyid_id'>id</span> <span class='op'>=</span> <span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
1200
|
-
<span class='id identifier
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1357
|
+
<span class='id identifier rubyid_custom_post'>custom_post</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/merge</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1358
|
+
<span class='symbol'>:params</span> <span class='op'>=></span> <span class='id identifier rubyid_default_param'>default_param</span><span class='comma'>,</span>
|
1359
|
+
<span class='symbol'>:json</span> <span class='op'>=></span> <span class='lbrace'>{</span>
|
1360
|
+
<span class='symbol'>:id</span> <span class='op'>=></span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
1361
|
+
<span class='symbol'>:merge_with_id</span> <span class='op'>=></span> <span class='id identifier rubyid_merge_with_resource'>merge_with_resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
1362
|
+
<span class='rbrace'>}</span>
|
1363
|
+
<span class='rparen'>)</span>
|
1206
1364
|
<span class='kw'>end</span></pre>
|
1207
1365
|
</td>
|
1208
1366
|
</tr>
|
@@ -1224,12 +1382,12 @@
|
|
1224
1382
|
<pre class="lines">
|
1225
1383
|
|
1226
1384
|
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1385
|
+
86
|
1386
|
+
87
|
1387
|
+
88</pre>
|
1230
1388
|
</td>
|
1231
1389
|
<td>
|
1232
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1390
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 86</span>
|
1233
1391
|
|
1234
1392
|
<span class='kw'>def</span> <span class='id identifier rubyid_permitted_users'>permitted_users</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
|
1235
1393
|
<span class='id identifier rubyid_custom_get'>custom_get</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/permittedUsers</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -1254,17 +1412,15 @@
|
|
1254
1412
|
<pre class="lines">
|
1255
1413
|
|
1256
1414
|
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
80</pre>
|
1415
|
+
90
|
1416
|
+
91
|
1417
|
+
92</pre>
|
1261
1418
|
</td>
|
1262
1419
|
<td>
|
1263
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1420
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 90</span>
|
1264
1421
|
|
1265
1422
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove'>remove</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
|
1266
|
-
<span class='id identifier
|
1267
|
-
<span class='label'>params:</span> <span class='id identifier rubyid_default_param'>default_param</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span>
|
1423
|
+
<span class='id identifier rubyid_custom_delete'>custom_delete</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:params</span> <span class='op'>=></span> <span class='id identifier rubyid_default_param'>default_param</span><span class='rparen'>)</span>
|
1268
1424
|
<span class='kw'>end</span></pre>
|
1269
1425
|
</td>
|
1270
1426
|
</tr>
|
@@ -1286,27 +1442,23 @@
|
|
1286
1442
|
<pre class="lines">
|
1287
1443
|
|
1288
1444
|
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
89
|
1297
|
-
90</pre>
|
1445
|
+
94
|
1446
|
+
95
|
1447
|
+
96
|
1448
|
+
97
|
1449
|
+
98
|
1450
|
+
99
|
1451
|
+
100</pre>
|
1298
1452
|
</td>
|
1299
1453
|
<td>
|
1300
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1454
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 94</span>
|
1301
1455
|
|
1302
1456
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove_many'>remove_many</span><span class='lparen'>(</span><span class='id identifier rubyid_resources'>resources</span><span class='rparen'>)</span>
|
1303
1457
|
<span class='id identifier rubyid_ids'>ids</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
1304
1458
|
<span class='id identifier rubyid_resources'>resources</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_resource'>resource</span><span class='op'>|</span>
|
1305
1459
|
<span class='id identifier rubyid_ids'>ids</span> <span class='op'><<</span> <span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>data</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
1306
1460
|
<span class='kw'>end</span>
|
1307
|
-
<span class='id identifier
|
1308
|
-
<span class='label'>params:</span> <span class='id identifier rubyid_default_param'>default_param</span><span class='comma'>,</span>
|
1309
|
-
<span class='label'>json:</span> <span class='lbrace'>{</span> <span class='label'>ids:</span> <span class='id identifier rubyid_ids'>ids</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>,</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span>
|
1461
|
+
<span class='id identifier rubyid_custom_delete'>custom_delete</span><span class='lparen'>(</span><span class='symbol'>:params</span> <span class='op'>=></span> <span class='id identifier rubyid_default_param'>default_param</span><span class='comma'>,</span> <span class='symbol'>:json</span> <span class='op'>=></span> <span class='lbrace'>{</span> <span class='label'>ids:</span> <span class='id identifier rubyid_ids'>ids</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>,</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
|
1310
1462
|
<span class='kw'>end</span></pre>
|
1311
1463
|
</td>
|
1312
1464
|
</tr>
|
@@ -1328,19 +1480,15 @@
|
|
1328
1480
|
<pre class="lines">
|
1329
1481
|
|
1330
1482
|
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
95
|
1335
|
-
96</pre>
|
1483
|
+
102
|
1484
|
+
103
|
1485
|
+
104</pre>
|
1336
1486
|
</td>
|
1337
1487
|
<td>
|
1338
|
-
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line
|
1488
|
+
<pre class="code"><span class="info file"># File 'lib/http_factory.rb', line 102</span>
|
1339
1489
|
|
1340
1490
|
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
|
1341
|
-
<span class='id identifier
|
1342
|
-
<span class='label'>params:</span> <span class='id identifier rubyid_default_param'>default_param</span><span class='comma'>,</span>
|
1343
|
-
<span class='label'>json:</span> <span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span>
|
1491
|
+
<span class='id identifier rubyid_custom_put'>custom_put</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_resource'>resource</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:params</span> <span class='op'>=></span> <span class='id identifier rubyid_default_param'>default_param</span><span class='comma'>,</span> <span class='symbol'>:json</span> <span class='op'>=></span> <span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
|
1344
1492
|
<span class='kw'>end</span></pre>
|
1345
1493
|
</td>
|
1346
1494
|
</tr>
|
@@ -1352,7 +1500,7 @@
|
|
1352
1500
|
</div>
|
1353
1501
|
|
1354
1502
|
<div id="footer">
|
1355
|
-
Generated on
|
1503
|
+
Generated on Sun Jul 24 17:35:18 2016 by
|
1356
1504
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1357
1505
|
0.9.0 (ruby-2.2.5).
|
1358
1506
|
</div>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
</div>
|
139
139
|
|
140
140
|
<div id="footer">
|
141
|
-
Generated on
|
141
|
+
Generated on Sun Jul 24 17:35:18 2016 by
|
142
142
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
143
143
|
0.9.0 (ruby-2.2.5).
|
144
144
|
</div>
|
@@ -375,7 +375,7 @@ organizations etc…</p>
|
|
375
375
|
</div>
|
376
376
|
|
377
377
|
<div id="footer">
|
378
|
-
Generated on
|
378
|
+
Generated on Sun Jul 24 17:35:18 2016 by
|
379
379
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
380
380
|
0.9.0 (ruby-2.2.5).
|
381
381
|
</div>
|