postful 0.2.0 → 0.3.1
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.
- data/doc/classes/Postful/Base.html +85 -28
- data/doc/classes/Postful/Base.src/M000004.html +8 -8
- data/doc/classes/Postful/Base.src/M000005.html +8 -6
- data/doc/classes/Postful/Base.src/{M000002.html → M000007.html} +1 -1
- data/doc/classes/Postful/Base.src/{M000003.html → M000008.html} +1 -1
- data/doc/classes/Postful/Base.src/M000009.html +22 -0
- data/doc/classes/Postful/Base.src/M000010.html +20 -0
- data/doc/classes/Postful/Base.src/{M000006.html → M000011.html} +1 -1
- data/doc/classes/Postful/Base.src/M000012.html +20 -0
- data/doc/classes/Postful/Document.html +176 -0
- data/doc/classes/Postful/{Base.src/M000001.html → Document.src/M000026.html} +2 -4
- data/doc/classes/Postful/Document.src/M000027.html +18 -0
- data/doc/classes/Postful/Document.src/M000028.html +18 -0
- data/doc/classes/Postful/Letter.html +168 -60
- data/doc/classes/Postful/Letter.src/{M000018.html → M000041.html} +2 -2
- data/doc/classes/Postful/Letter.src/{M000019.html → M000042.html} +2 -2
- data/doc/classes/Postful/Letter.src/M000043.html +18 -0
- data/doc/classes/Postful/Letter.src/{M000020.html → M000044.html} +2 -2
- data/doc/classes/Postful/Letter.src/{M000021.html → M000045.html} +2 -2
- data/doc/classes/Postful/Letter.src/M000046.html +18 -0
- data/doc/classes/Postful/Letter.src/{M000022.html → M000047.html} +2 -2
- data/doc/classes/Postful/Letter.src/{M000023.html → M000048.html} +2 -2
- data/doc/classes/Postful/Letter.src/M000049.html +18 -0
- data/doc/classes/Postful/Letter.src/{M000024.html → M000050.html} +2 -2
- data/doc/classes/Postful/Letter.src/{M000025.html → M000051.html} +2 -2
- data/doc/classes/Postful/Letter.src/M000052.html +18 -0
- data/doc/classes/Postful/Letter.src/{M000026.html → M000053.html} +2 -2
- data/doc/classes/Postful/Letter.src/{M000027.html → M000054.html} +2 -2
- data/doc/classes/Postful/Letter.src/M000055.html +18 -0
- data/doc/classes/Postful/Letter.src/{M000028.html → M000056.html} +2 -2
- data/doc/classes/Postful/Letter.src/{M000029.html → M000057.html} +2 -2
- data/doc/classes/Postful/Letter.src/M000058.html +18 -0
- data/doc/classes/Postful/Order.html +20 -20
- data/doc/classes/Postful/Order.src/{M000007.html → M000013.html} +0 -0
- data/doc/classes/Postful/Order.src/{M000008.html → M000014.html} +0 -0
- data/doc/classes/Postful/Order.src/{M000009.html → M000015.html} +0 -0
- data/doc/classes/Postful/Order.src/{M000010.html → M000016.html} +0 -0
- data/doc/classes/Postful/Postcard.html +15 -15
- data/doc/classes/Postful/Postcard.src/{M000011.html → M000023.html} +0 -0
- data/doc/classes/Postful/Postcard.src/{M000012.html → M000024.html} +0 -0
- data/doc/classes/Postful/Postcard.src/{M000013.html → M000025.html} +0 -0
- data/doc/classes/Postful/Section.html +221 -0
- data/doc/classes/Postful/Section.src/M000017.html +21 -0
- data/doc/classes/Postful/Section.src/M000018.html +18 -0
- data/doc/classes/Postful/Section.src/M000019.html +20 -0
- data/doc/classes/Postful/Section.src/M000020.html +18 -0
- data/doc/classes/Postful/Section.src/M000021.html +25 -0
- data/doc/classes/Postful/Section.src/M000022.html +22 -0
- data/doc/classes/Postful/Service.html +20 -20
- data/doc/classes/Postful/Service.src/{M000014.html → M000037.html} +0 -0
- data/doc/classes/Postful/Service.src/{M000015.html → M000038.html} +0 -0
- data/doc/classes/Postful/Service.src/{M000016.html → M000039.html} +0 -0
- data/doc/classes/Postful/Service.src/{M000017.html → M000040.html} +0 -0
- data/doc/classes/Postful/SimpleDocument.html +197 -0
- data/doc/classes/Postful/SimpleDocument.src/M000001.html +22 -0
- data/doc/classes/Postful/SimpleDocument.src/M000002.html +18 -0
- data/doc/classes/Postful/SimpleDocument.src/M000003.html +29 -0
- data/doc/classes/Postful/TemplateDocument.html +274 -0
- data/doc/classes/Postful/TemplateDocument.src/M000029.html +36 -0
- data/doc/classes/Postful/TemplateDocument.src/M000030.html +22 -0
- data/doc/classes/Postful/TemplateDocument.src/M000031.html +18 -0
- data/doc/classes/Postful/TemplateDocument.src/M000033.html +21 -0
- data/doc/classes/Postful/TemplateDocument.src/M000035.html +18 -0
- data/doc/classes/Postful/TemplateDocument.src/M000036.html +20 -0
- data/doc/created.rid +1 -1
- data/doc/files/MIT-LICENSE.html +1 -1
- data/doc/files/README.html +1 -1
- data/doc/files/lib/postful/base_rb.html +1 -1
- data/doc/files/lib/postful/document_rb.html +101 -0
- data/doc/files/lib/postful/instance_exec_module_rb.html +1 -1
- data/doc/files/lib/postful/letter_rb.html +1 -1
- data/doc/files/lib/postful/order_rb.html +1 -1
- data/doc/files/lib/postful/postcard_rb.html +1 -1
- data/doc/files/lib/postful/section_rb.html +101 -0
- data/doc/files/lib/postful/service_rb.html +1 -1
- data/doc/files/lib/postful/simple_document_rb.html +101 -0
- data/doc/files/lib/postful/template_document_rb.html +101 -0
- data/doc/files/lib/postful/util_rb.html +1 -1
- data/doc/files/lib/postful_rb.html +1 -1
- data/doc/fr_class_index.html +4 -0
- data/doc/fr_file_index.html +4 -0
- data/doc/fr_method_index.html +58 -29
- data/lib/postful/base.rb +20 -0
- data/lib/postful/document.rb +18 -0
- data/lib/postful/letter.rb +55 -48
- data/lib/postful/postcard.rb +4 -0
- data/lib/postful/section.rb +46 -0
- data/lib/postful/simple_document.rb +38 -0
- data/lib/postful/template_document.rb +66 -0
- data/lib/postful/util.rb +70 -21
- data/test/test_base.rb +71 -0
- data/test/test_letter.rb +6 -0
- data/test/test_postcard.rb +13 -1
- metadata +71 -29
|
@@ -5,17 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
<html>
|
|
7
7
|
<head>
|
|
8
|
-
<title>new (Postful::
|
|
8
|
+
<title>new (Postful::Document)</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
11
|
</head>
|
|
12
12
|
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/postful/
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/document.rb, line 5</span>
|
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">email</span>, <span class="ruby-identifier">password</span>)
|
|
15
15
|
<span class="ruby-ivar">@email</span> = <span class="ruby-identifier">email</span>
|
|
16
16
|
<span class="ruby-ivar">@password</span> = <span class="ruby-identifier">password</span>
|
|
17
|
-
<span class="ruby-ivar">@documents</span> = []
|
|
18
|
-
<span class="ruby-ivar">@addressees</span> = []
|
|
19
17
|
<span class="ruby-keyword kw">end</span></pre>
|
|
20
18
|
</body>
|
|
21
19
|
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>requires_upload? (Postful::Document)</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
+
</head>
|
|
12
|
+
<body class="standalone-code">
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/document.rb, line 10</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">requires_upload?</span>
|
|
15
|
+
<span class="ruby-keyword kw">false</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>do_upload (Postful::Document)</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
+
</head>
|
|
12
|
+
<body class="standalone-code">
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/document.rb, line 14</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">do_upload</span>
|
|
15
|
+
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -95,18 +95,24 @@ href="Service.html">Service</a>.
|
|
|
95
95
|
<h3 class="section-bar">Methods</h3>
|
|
96
96
|
|
|
97
97
|
<div class="name-list">
|
|
98
|
-
<a href="#
|
|
99
|
-
<a href="#
|
|
100
|
-
<a href="#
|
|
101
|
-
<a href="#
|
|
102
|
-
<a href="#
|
|
103
|
-
<a href="#
|
|
104
|
-
<a href="#
|
|
105
|
-
<a href="#
|
|
106
|
-
<a href="#
|
|
107
|
-
<a href="#
|
|
108
|
-
<a href="#
|
|
109
|
-
<a href="#
|
|
98
|
+
<a href="#M000041">add_html_document</a>
|
|
99
|
+
<a href="#M000042">add_html_document_from_file</a>
|
|
100
|
+
<a href="#M000043">add_html_document_from_url</a>
|
|
101
|
+
<a href="#M000050">add_open_office_document</a>
|
|
102
|
+
<a href="#M000051">add_open_office_document_from_file</a>
|
|
103
|
+
<a href="#M000052">add_open_office_document_from_url</a>
|
|
104
|
+
<a href="#M000056">add_pdf_document</a>
|
|
105
|
+
<a href="#M000057">add_pdf_document_from_file</a>
|
|
106
|
+
<a href="#M000058">add_pdf_document_from_url</a>
|
|
107
|
+
<a href="#M000047">add_rtf_document</a>
|
|
108
|
+
<a href="#M000048">add_rtf_document_from_file</a>
|
|
109
|
+
<a href="#M000049">add_rtf_document_from_url</a>
|
|
110
|
+
<a href="#M000053">add_text_document</a>
|
|
111
|
+
<a href="#M000054">add_text_document_from_file</a>
|
|
112
|
+
<a href="#M000055">add_text_document_from_url</a>
|
|
113
|
+
<a href="#M000044">add_word_document</a>
|
|
114
|
+
<a href="#M000045">add_word_document_from_file</a>
|
|
115
|
+
<a href="#M000046">add_word_document_from_url</a>
|
|
110
116
|
</div>
|
|
111
117
|
</div>
|
|
112
118
|
|
|
@@ -128,12 +134,12 @@ href="Service.html">Service</a>.
|
|
|
128
134
|
<div id="methods">
|
|
129
135
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
130
136
|
|
|
131
|
-
<div id="method-
|
|
132
|
-
<a name="
|
|
137
|
+
<div id="method-M000041" class="method-detail">
|
|
138
|
+
<a name="M000041"></a>
|
|
133
139
|
|
|
134
140
|
<div class="method-heading">
|
|
135
|
-
<a href="Letter.src/
|
|
136
|
-
onclick="popupCode('Letter.src/
|
|
141
|
+
<a href="Letter.src/M000041.html" target="Code" class="method-signature"
|
|
142
|
+
onclick="popupCode('Letter.src/M000041.html');return false;">
|
|
137
143
|
<span class="method-name">add_html_document</span><span class="method-args">(text)</span>
|
|
138
144
|
</a>
|
|
139
145
|
</div>
|
|
@@ -145,12 +151,12 @@ Add an HTML document to the request
|
|
|
145
151
|
</div>
|
|
146
152
|
</div>
|
|
147
153
|
|
|
148
|
-
<div id="method-
|
|
149
|
-
<a name="
|
|
154
|
+
<div id="method-M000042" class="method-detail">
|
|
155
|
+
<a name="M000042"></a>
|
|
150
156
|
|
|
151
157
|
<div class="method-heading">
|
|
152
|
-
<a href="Letter.src/
|
|
153
|
-
onclick="popupCode('Letter.src/
|
|
158
|
+
<a href="Letter.src/M000042.html" target="Code" class="method-signature"
|
|
159
|
+
onclick="popupCode('Letter.src/M000042.html');return false;">
|
|
154
160
|
<span class="method-name">add_html_document_from_file</span><span class="method-args">(filename)</span>
|
|
155
161
|
</a>
|
|
156
162
|
</div>
|
|
@@ -162,12 +168,29 @@ Add an HTML document to the request
|
|
|
162
168
|
</div>
|
|
163
169
|
</div>
|
|
164
170
|
|
|
165
|
-
<div id="method-
|
|
166
|
-
<a name="
|
|
171
|
+
<div id="method-M000043" class="method-detail">
|
|
172
|
+
<a name="M000043"></a>
|
|
167
173
|
|
|
168
174
|
<div class="method-heading">
|
|
169
|
-
<a href="Letter.src/
|
|
170
|
-
onclick="popupCode('Letter.src/
|
|
175
|
+
<a href="Letter.src/M000043.html" target="Code" class="method-signature"
|
|
176
|
+
onclick="popupCode('Letter.src/M000043.html');return false;">
|
|
177
|
+
<span class="method-name">add_html_document_from_url</span><span class="method-args">(url)</span>
|
|
178
|
+
</a>
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
<div class="method-description">
|
|
182
|
+
<p>
|
|
183
|
+
Add an HTML document to the request
|
|
184
|
+
</p>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
|
|
188
|
+
<div id="method-M000050" class="method-detail">
|
|
189
|
+
<a name="M000050"></a>
|
|
190
|
+
|
|
191
|
+
<div class="method-heading">
|
|
192
|
+
<a href="Letter.src/M000050.html" target="Code" class="method-signature"
|
|
193
|
+
onclick="popupCode('Letter.src/M000050.html');return false;">
|
|
171
194
|
<span class="method-name">add_open_office_document</span><span class="method-args">(text)</span>
|
|
172
195
|
</a>
|
|
173
196
|
</div>
|
|
@@ -179,12 +202,12 @@ Add an Open Office document to the request
|
|
|
179
202
|
</div>
|
|
180
203
|
</div>
|
|
181
204
|
|
|
182
|
-
<div id="method-
|
|
183
|
-
<a name="
|
|
205
|
+
<div id="method-M000051" class="method-detail">
|
|
206
|
+
<a name="M000051"></a>
|
|
184
207
|
|
|
185
208
|
<div class="method-heading">
|
|
186
|
-
<a href="Letter.src/
|
|
187
|
-
onclick="popupCode('Letter.src/
|
|
209
|
+
<a href="Letter.src/M000051.html" target="Code" class="method-signature"
|
|
210
|
+
onclick="popupCode('Letter.src/M000051.html');return false;">
|
|
188
211
|
<span class="method-name">add_open_office_document_from_file</span><span class="method-args">(filename)</span>
|
|
189
212
|
</a>
|
|
190
213
|
</div>
|
|
@@ -196,12 +219,29 @@ Add an Open Office document to the request
|
|
|
196
219
|
</div>
|
|
197
220
|
</div>
|
|
198
221
|
|
|
199
|
-
<div id="method-
|
|
200
|
-
<a name="
|
|
222
|
+
<div id="method-M000052" class="method-detail">
|
|
223
|
+
<a name="M000052"></a>
|
|
224
|
+
|
|
225
|
+
<div class="method-heading">
|
|
226
|
+
<a href="Letter.src/M000052.html" target="Code" class="method-signature"
|
|
227
|
+
onclick="popupCode('Letter.src/M000052.html');return false;">
|
|
228
|
+
<span class="method-name">add_open_office_document_from_url</span><span class="method-args">(url)</span>
|
|
229
|
+
</a>
|
|
230
|
+
</div>
|
|
231
|
+
|
|
232
|
+
<div class="method-description">
|
|
233
|
+
<p>
|
|
234
|
+
Add an Open Office document to the request
|
|
235
|
+
</p>
|
|
236
|
+
</div>
|
|
237
|
+
</div>
|
|
238
|
+
|
|
239
|
+
<div id="method-M000056" class="method-detail">
|
|
240
|
+
<a name="M000056"></a>
|
|
201
241
|
|
|
202
242
|
<div class="method-heading">
|
|
203
|
-
<a href="Letter.src/
|
|
204
|
-
onclick="popupCode('Letter.src/
|
|
243
|
+
<a href="Letter.src/M000056.html" target="Code" class="method-signature"
|
|
244
|
+
onclick="popupCode('Letter.src/M000056.html');return false;">
|
|
205
245
|
<span class="method-name">add_pdf_document</span><span class="method-args">(text)</span>
|
|
206
246
|
</a>
|
|
207
247
|
</div>
|
|
@@ -213,12 +253,12 @@ Add a PDF document to the request
|
|
|
213
253
|
</div>
|
|
214
254
|
</div>
|
|
215
255
|
|
|
216
|
-
<div id="method-
|
|
217
|
-
<a name="
|
|
256
|
+
<div id="method-M000057" class="method-detail">
|
|
257
|
+
<a name="M000057"></a>
|
|
218
258
|
|
|
219
259
|
<div class="method-heading">
|
|
220
|
-
<a href="Letter.src/
|
|
221
|
-
onclick="popupCode('Letter.src/
|
|
260
|
+
<a href="Letter.src/M000057.html" target="Code" class="method-signature"
|
|
261
|
+
onclick="popupCode('Letter.src/M000057.html');return false;">
|
|
222
262
|
<span class="method-name">add_pdf_document_from_file</span><span class="method-args">(filename)</span>
|
|
223
263
|
</a>
|
|
224
264
|
</div>
|
|
@@ -230,12 +270,29 @@ Add a PDF document to the request
|
|
|
230
270
|
</div>
|
|
231
271
|
</div>
|
|
232
272
|
|
|
233
|
-
<div id="method-
|
|
234
|
-
<a name="
|
|
273
|
+
<div id="method-M000058" class="method-detail">
|
|
274
|
+
<a name="M000058"></a>
|
|
275
|
+
|
|
276
|
+
<div class="method-heading">
|
|
277
|
+
<a href="Letter.src/M000058.html" target="Code" class="method-signature"
|
|
278
|
+
onclick="popupCode('Letter.src/M000058.html');return false;">
|
|
279
|
+
<span class="method-name">add_pdf_document_from_url</span><span class="method-args">(url)</span>
|
|
280
|
+
</a>
|
|
281
|
+
</div>
|
|
282
|
+
|
|
283
|
+
<div class="method-description">
|
|
284
|
+
<p>
|
|
285
|
+
Add a PDF document to the request
|
|
286
|
+
</p>
|
|
287
|
+
</div>
|
|
288
|
+
</div>
|
|
289
|
+
|
|
290
|
+
<div id="method-M000047" class="method-detail">
|
|
291
|
+
<a name="M000047"></a>
|
|
235
292
|
|
|
236
293
|
<div class="method-heading">
|
|
237
|
-
<a href="Letter.src/
|
|
238
|
-
onclick="popupCode('Letter.src/
|
|
294
|
+
<a href="Letter.src/M000047.html" target="Code" class="method-signature"
|
|
295
|
+
onclick="popupCode('Letter.src/M000047.html');return false;">
|
|
239
296
|
<span class="method-name">add_rtf_document</span><span class="method-args">(text)</span>
|
|
240
297
|
</a>
|
|
241
298
|
</div>
|
|
@@ -247,12 +304,12 @@ Add a Rich Text Format document to the request
|
|
|
247
304
|
</div>
|
|
248
305
|
</div>
|
|
249
306
|
|
|
250
|
-
<div id="method-
|
|
251
|
-
<a name="
|
|
307
|
+
<div id="method-M000048" class="method-detail">
|
|
308
|
+
<a name="M000048"></a>
|
|
252
309
|
|
|
253
310
|
<div class="method-heading">
|
|
254
|
-
<a href="Letter.src/
|
|
255
|
-
onclick="popupCode('Letter.src/
|
|
311
|
+
<a href="Letter.src/M000048.html" target="Code" class="method-signature"
|
|
312
|
+
onclick="popupCode('Letter.src/M000048.html');return false;">
|
|
256
313
|
<span class="method-name">add_rtf_document_from_file</span><span class="method-args">(filename)</span>
|
|
257
314
|
</a>
|
|
258
315
|
</div>
|
|
@@ -264,12 +321,29 @@ Add a Rich Text Format document to the request
|
|
|
264
321
|
</div>
|
|
265
322
|
</div>
|
|
266
323
|
|
|
267
|
-
<div id="method-
|
|
268
|
-
<a name="
|
|
324
|
+
<div id="method-M000049" class="method-detail">
|
|
325
|
+
<a name="M000049"></a>
|
|
269
326
|
|
|
270
327
|
<div class="method-heading">
|
|
271
|
-
<a href="Letter.src/
|
|
272
|
-
onclick="popupCode('Letter.src/
|
|
328
|
+
<a href="Letter.src/M000049.html" target="Code" class="method-signature"
|
|
329
|
+
onclick="popupCode('Letter.src/M000049.html');return false;">
|
|
330
|
+
<span class="method-name">add_rtf_document_from_url</span><span class="method-args">(url)</span>
|
|
331
|
+
</a>
|
|
332
|
+
</div>
|
|
333
|
+
|
|
334
|
+
<div class="method-description">
|
|
335
|
+
<p>
|
|
336
|
+
Add a Rich Text Format document to the request
|
|
337
|
+
</p>
|
|
338
|
+
</div>
|
|
339
|
+
</div>
|
|
340
|
+
|
|
341
|
+
<div id="method-M000053" class="method-detail">
|
|
342
|
+
<a name="M000053"></a>
|
|
343
|
+
|
|
344
|
+
<div class="method-heading">
|
|
345
|
+
<a href="Letter.src/M000053.html" target="Code" class="method-signature"
|
|
346
|
+
onclick="popupCode('Letter.src/M000053.html');return false;">
|
|
273
347
|
<span class="method-name">add_text_document</span><span class="method-args">(text)</span>
|
|
274
348
|
</a>
|
|
275
349
|
</div>
|
|
@@ -281,12 +355,12 @@ Add a text document to the request
|
|
|
281
355
|
</div>
|
|
282
356
|
</div>
|
|
283
357
|
|
|
284
|
-
<div id="method-
|
|
285
|
-
<a name="
|
|
358
|
+
<div id="method-M000054" class="method-detail">
|
|
359
|
+
<a name="M000054"></a>
|
|
286
360
|
|
|
287
361
|
<div class="method-heading">
|
|
288
|
-
<a href="Letter.src/
|
|
289
|
-
onclick="popupCode('Letter.src/
|
|
362
|
+
<a href="Letter.src/M000054.html" target="Code" class="method-signature"
|
|
363
|
+
onclick="popupCode('Letter.src/M000054.html');return false;">
|
|
290
364
|
<span class="method-name">add_text_document_from_file</span><span class="method-args">(filename)</span>
|
|
291
365
|
</a>
|
|
292
366
|
</div>
|
|
@@ -298,12 +372,29 @@ Add a text document to the request
|
|
|
298
372
|
</div>
|
|
299
373
|
</div>
|
|
300
374
|
|
|
301
|
-
<div id="method-
|
|
302
|
-
<a name="
|
|
375
|
+
<div id="method-M000055" class="method-detail">
|
|
376
|
+
<a name="M000055"></a>
|
|
377
|
+
|
|
378
|
+
<div class="method-heading">
|
|
379
|
+
<a href="Letter.src/M000055.html" target="Code" class="method-signature"
|
|
380
|
+
onclick="popupCode('Letter.src/M000055.html');return false;">
|
|
381
|
+
<span class="method-name">add_text_document_from_url</span><span class="method-args">(url)</span>
|
|
382
|
+
</a>
|
|
383
|
+
</div>
|
|
384
|
+
|
|
385
|
+
<div class="method-description">
|
|
386
|
+
<p>
|
|
387
|
+
Add a text document to the request
|
|
388
|
+
</p>
|
|
389
|
+
</div>
|
|
390
|
+
</div>
|
|
391
|
+
|
|
392
|
+
<div id="method-M000044" class="method-detail">
|
|
393
|
+
<a name="M000044"></a>
|
|
303
394
|
|
|
304
395
|
<div class="method-heading">
|
|
305
|
-
<a href="Letter.src/
|
|
306
|
-
onclick="popupCode('Letter.src/
|
|
396
|
+
<a href="Letter.src/M000044.html" target="Code" class="method-signature"
|
|
397
|
+
onclick="popupCode('Letter.src/M000044.html');return false;">
|
|
307
398
|
<span class="method-name">add_word_document</span><span class="method-args">(text)</span>
|
|
308
399
|
</a>
|
|
309
400
|
</div>
|
|
@@ -315,12 +406,12 @@ Add a Microsoft Word document to the request
|
|
|
315
406
|
</div>
|
|
316
407
|
</div>
|
|
317
408
|
|
|
318
|
-
<div id="method-
|
|
319
|
-
<a name="
|
|
409
|
+
<div id="method-M000045" class="method-detail">
|
|
410
|
+
<a name="M000045"></a>
|
|
320
411
|
|
|
321
412
|
<div class="method-heading">
|
|
322
|
-
<a href="Letter.src/
|
|
323
|
-
onclick="popupCode('Letter.src/
|
|
413
|
+
<a href="Letter.src/M000045.html" target="Code" class="method-signature"
|
|
414
|
+
onclick="popupCode('Letter.src/M000045.html');return false;">
|
|
324
415
|
<span class="method-name">add_word_document_from_file</span><span class="method-args">(filename)</span>
|
|
325
416
|
</a>
|
|
326
417
|
</div>
|
|
@@ -332,6 +423,23 @@ Add a Microsoft Word document to the request
|
|
|
332
423
|
</div>
|
|
333
424
|
</div>
|
|
334
425
|
|
|
426
|
+
<div id="method-M000046" class="method-detail">
|
|
427
|
+
<a name="M000046"></a>
|
|
428
|
+
|
|
429
|
+
<div class="method-heading">
|
|
430
|
+
<a href="Letter.src/M000046.html" target="Code" class="method-signature"
|
|
431
|
+
onclick="popupCode('Letter.src/M000046.html');return false;">
|
|
432
|
+
<span class="method-name">add_word_document_from_url</span><span class="method-args">(url)</span>
|
|
433
|
+
</a>
|
|
434
|
+
</div>
|
|
435
|
+
|
|
436
|
+
<div class="method-description">
|
|
437
|
+
<p>
|
|
438
|
+
Add a Microsoft Word document to the request
|
|
439
|
+
</p>
|
|
440
|
+
</div>
|
|
441
|
+
</div>
|
|
442
|
+
|
|
335
443
|
|
|
336
444
|
</div>
|
|
337
445
|
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
11
|
</head>
|
|
12
12
|
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 12</span>
|
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_html_document</span>(<span class="ruby-identifier">text</span>)
|
|
15
|
-
<span class="ruby-identifier">
|
|
15
|
+
<span class="ruby-identifier">add_simple_document</span>(<span class="ruby-value str">'html'</span>, <span class="ruby-identifier">text</span>)
|
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
|
17
17
|
</body>
|
|
18
18
|
</html>
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
11
|
</head>
|
|
12
12
|
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 17</span>
|
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_html_document_from_file</span>(<span class="ruby-identifier">filename</span>)
|
|
15
|
-
<span class="ruby-identifier">
|
|
15
|
+
<span class="ruby-identifier">add_simple_document_from_file</span>(<span class="ruby-value str">'html'</span>, <span class="ruby-identifier">filename</span>)
|
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
|
17
17
|
</body>
|
|
18
18
|
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>add_html_document_from_url (Postful::Letter)</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
+
</head>
|
|
12
|
+
<body class="standalone-code">
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 22</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_html_document_from_url</span>(<span class="ruby-identifier">url</span>)
|
|
15
|
+
<span class="ruby-identifier">add_simple_document_from_url</span>(<span class="ruby-value str">'html'</span>, <span class="ruby-identifier">url</span>)
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
11
|
</head>
|
|
12
12
|
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line
|
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 27</span>
|
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_word_document</span>(<span class="ruby-identifier">text</span>)
|
|
15
|
-
<span class="ruby-identifier">
|
|
15
|
+
<span class="ruby-identifier">add_simple_document</span>(<span class="ruby-value str">'doc'</span>, <span class="ruby-identifier">text</span>)
|
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
|
17
17
|
</body>
|
|
18
18
|
</html>
|