postful 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/classes/Postful/Letter.html +60 -60
- data/doc/classes/Postful/Letter.src/M000018.html +4 -4
- data/doc/classes/Postful/Letter.src/M000019.html +4 -4
- data/doc/classes/Postful/Letter.src/M000020.html +4 -4
- data/doc/classes/Postful/Letter.src/M000021.html +4 -4
- data/doc/classes/Postful/Letter.src/M000022.html +4 -4
- data/doc/classes/Postful/Letter.src/M000023.html +4 -4
- data/doc/classes/Postful/Letter.src/M000024.html +4 -4
- data/doc/classes/Postful/Letter.src/M000025.html +4 -4
- data/doc/classes/Postful/Letter.src/M000026.html +4 -4
- data/doc/classes/Postful/Letter.src/{M000016.html → M000027.html} +4 -4
- data/doc/classes/Postful/Letter.src/{M000017.html → M000028.html} +4 -4
- data/doc/classes/Postful/Letter.src/{M000015.html → M000029.html} +4 -4
- data/doc/classes/Postful/Postcard.html +222 -0
- data/doc/classes/Postful/{Service.src → Postcard.src}/M000011.html +4 -5
- data/doc/classes/Postful/Postcard.src/M000012.html +18 -0
- data/doc/classes/Postful/Postcard.src/M000013.html +18 -0
- data/doc/classes/Postful/Service.html +20 -20
- data/doc/classes/Postful/Service.src/M000014.html +5 -10
- data/doc/classes/Postful/Service.src/{M000012.html → M000015.html} +0 -0
- data/doc/classes/Postful/Service.src/{M000013.html → M000016.html} +0 -0
- data/doc/classes/Postful/Service.src/M000017.html +24 -0
- data/doc/created.rid +1 -1
- data/doc/files/README.html +42 -2
- data/doc/files/lib/postful/base_rb.html +1 -1
- data/doc/files/lib/postful/letter_rb.html +1 -1
- data/doc/files/lib/postful/postcard_rb.html +109 -0
- data/doc/files/lib/postful/service_rb.html +1 -1
- data/doc/files/lib/postful/util_rb.html +1 -1
- data/doc/files/lib/postful_rb.html +2 -1
- data/doc/fr_class_index.html +1 -0
- data/doc/fr_file_index.html +1 -0
- data/doc/fr_method_index.html +19 -16
- data/lib/postful.rb +2 -1
- data/lib/postful/base.rb +0 -1
- data/lib/postful/letter.rb +7 -3
- data/lib/postful/postcard.rb +162 -0
- data/lib/postful/util.rb +10 -7
- data/test/suite.rb +1 -0
- data/test/test_letter.rb +2 -2
- data/test/test_postcard.rb +104 -2
- metadata +15 -8
@@ -95,18 +95,18 @@ 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="#M000018">add_html_document</a>
|
99
|
+
<a href="#M000019">add_html_document_from_file</a>
|
100
|
+
<a href="#M000024">add_open_office_document</a>
|
101
|
+
<a href="#M000025">add_open_office_document_from_file</a>
|
102
|
+
<a href="#M000028">add_pdf_document</a>
|
103
|
+
<a href="#M000029">add_pdf_document_from_file</a>
|
104
|
+
<a href="#M000022">add_rtf_document</a>
|
105
|
+
<a href="#M000023">add_rtf_document_from_file</a>
|
106
|
+
<a href="#M000026">add_text_document</a>
|
107
|
+
<a href="#M000027">add_text_document_from_file</a>
|
108
|
+
<a href="#M000020">add_word_document</a>
|
109
|
+
<a href="#M000021">add_word_document_from_file</a>
|
110
110
|
</div>
|
111
111
|
</div>
|
112
112
|
|
@@ -128,12 +128,12 @@ href="Service.html">Service</a>.
|
|
128
128
|
<div id="methods">
|
129
129
|
<h3 class="section-bar">Public Instance methods</h3>
|
130
130
|
|
131
|
-
<div id="method-
|
132
|
-
<a name="
|
131
|
+
<div id="method-M000018" class="method-detail">
|
132
|
+
<a name="M000018"></a>
|
133
133
|
|
134
134
|
<div class="method-heading">
|
135
|
-
<a href="Letter.src/
|
136
|
-
onclick="popupCode('Letter.src/
|
135
|
+
<a href="Letter.src/M000018.html" target="Code" class="method-signature"
|
136
|
+
onclick="popupCode('Letter.src/M000018.html');return false;">
|
137
137
|
<span class="method-name">add_html_document</span><span class="method-args">(text)</span>
|
138
138
|
</a>
|
139
139
|
</div>
|
@@ -145,12 +145,12 @@ Add an HTML document to the request
|
|
145
145
|
</div>
|
146
146
|
</div>
|
147
147
|
|
148
|
-
<div id="method-
|
149
|
-
<a name="
|
148
|
+
<div id="method-M000019" class="method-detail">
|
149
|
+
<a name="M000019"></a>
|
150
150
|
|
151
151
|
<div class="method-heading">
|
152
|
-
<a href="Letter.src/
|
153
|
-
onclick="popupCode('Letter.src/
|
152
|
+
<a href="Letter.src/M000019.html" target="Code" class="method-signature"
|
153
|
+
onclick="popupCode('Letter.src/M000019.html');return false;">
|
154
154
|
<span class="method-name">add_html_document_from_file</span><span class="method-args">(filename)</span>
|
155
155
|
</a>
|
156
156
|
</div>
|
@@ -162,12 +162,12 @@ Add an HTML document to the request
|
|
162
162
|
</div>
|
163
163
|
</div>
|
164
164
|
|
165
|
-
<div id="method-
|
166
|
-
<a name="
|
165
|
+
<div id="method-M000024" class="method-detail">
|
166
|
+
<a name="M000024"></a>
|
167
167
|
|
168
168
|
<div class="method-heading">
|
169
|
-
<a href="Letter.src/
|
170
|
-
onclick="popupCode('Letter.src/
|
169
|
+
<a href="Letter.src/M000024.html" target="Code" class="method-signature"
|
170
|
+
onclick="popupCode('Letter.src/M000024.html');return false;">
|
171
171
|
<span class="method-name">add_open_office_document</span><span class="method-args">(text)</span>
|
172
172
|
</a>
|
173
173
|
</div>
|
@@ -179,12 +179,12 @@ Add an Open Office document to the request
|
|
179
179
|
</div>
|
180
180
|
</div>
|
181
181
|
|
182
|
-
<div id="method-
|
183
|
-
<a name="
|
182
|
+
<div id="method-M000025" class="method-detail">
|
183
|
+
<a name="M000025"></a>
|
184
184
|
|
185
185
|
<div class="method-heading">
|
186
|
-
<a href="Letter.src/
|
187
|
-
onclick="popupCode('Letter.src/
|
186
|
+
<a href="Letter.src/M000025.html" target="Code" class="method-signature"
|
187
|
+
onclick="popupCode('Letter.src/M000025.html');return false;">
|
188
188
|
<span class="method-name">add_open_office_document_from_file</span><span class="method-args">(filename)</span>
|
189
189
|
</a>
|
190
190
|
</div>
|
@@ -196,12 +196,12 @@ Add an Open Office document to the request
|
|
196
196
|
</div>
|
197
197
|
</div>
|
198
198
|
|
199
|
-
<div id="method-
|
200
|
-
<a name="
|
199
|
+
<div id="method-M000028" class="method-detail">
|
200
|
+
<a name="M000028"></a>
|
201
201
|
|
202
202
|
<div class="method-heading">
|
203
|
-
<a href="Letter.src/
|
204
|
-
onclick="popupCode('Letter.src/
|
203
|
+
<a href="Letter.src/M000028.html" target="Code" class="method-signature"
|
204
|
+
onclick="popupCode('Letter.src/M000028.html');return false;">
|
205
205
|
<span class="method-name">add_pdf_document</span><span class="method-args">(text)</span>
|
206
206
|
</a>
|
207
207
|
</div>
|
@@ -213,12 +213,12 @@ Add a PDF document to the request
|
|
213
213
|
</div>
|
214
214
|
</div>
|
215
215
|
|
216
|
-
<div id="method-
|
217
|
-
<a name="
|
216
|
+
<div id="method-M000029" class="method-detail">
|
217
|
+
<a name="M000029"></a>
|
218
218
|
|
219
219
|
<div class="method-heading">
|
220
|
-
<a href="Letter.src/
|
221
|
-
onclick="popupCode('Letter.src/
|
220
|
+
<a href="Letter.src/M000029.html" target="Code" class="method-signature"
|
221
|
+
onclick="popupCode('Letter.src/M000029.html');return false;">
|
222
222
|
<span class="method-name">add_pdf_document_from_file</span><span class="method-args">(filename)</span>
|
223
223
|
</a>
|
224
224
|
</div>
|
@@ -230,12 +230,12 @@ Add a PDF document to the request
|
|
230
230
|
</div>
|
231
231
|
</div>
|
232
232
|
|
233
|
-
<div id="method-
|
234
|
-
<a name="
|
233
|
+
<div id="method-M000022" class="method-detail">
|
234
|
+
<a name="M000022"></a>
|
235
235
|
|
236
236
|
<div class="method-heading">
|
237
|
-
<a href="Letter.src/
|
238
|
-
onclick="popupCode('Letter.src/
|
237
|
+
<a href="Letter.src/M000022.html" target="Code" class="method-signature"
|
238
|
+
onclick="popupCode('Letter.src/M000022.html');return false;">
|
239
239
|
<span class="method-name">add_rtf_document</span><span class="method-args">(text)</span>
|
240
240
|
</a>
|
241
241
|
</div>
|
@@ -247,12 +247,12 @@ Add a Rich Text Format document to the request
|
|
247
247
|
</div>
|
248
248
|
</div>
|
249
249
|
|
250
|
-
<div id="method-
|
251
|
-
<a name="
|
250
|
+
<div id="method-M000023" class="method-detail">
|
251
|
+
<a name="M000023"></a>
|
252
252
|
|
253
253
|
<div class="method-heading">
|
254
|
-
<a href="Letter.src/
|
255
|
-
onclick="popupCode('Letter.src/
|
254
|
+
<a href="Letter.src/M000023.html" target="Code" class="method-signature"
|
255
|
+
onclick="popupCode('Letter.src/M000023.html');return false;">
|
256
256
|
<span class="method-name">add_rtf_document_from_file</span><span class="method-args">(filename)</span>
|
257
257
|
</a>
|
258
258
|
</div>
|
@@ -264,12 +264,12 @@ Add a Rich Text Format document to the request
|
|
264
264
|
</div>
|
265
265
|
</div>
|
266
266
|
|
267
|
-
<div id="method-
|
268
|
-
<a name="
|
267
|
+
<div id="method-M000026" class="method-detail">
|
268
|
+
<a name="M000026"></a>
|
269
269
|
|
270
270
|
<div class="method-heading">
|
271
|
-
<a href="Letter.src/
|
272
|
-
onclick="popupCode('Letter.src/
|
271
|
+
<a href="Letter.src/M000026.html" target="Code" class="method-signature"
|
272
|
+
onclick="popupCode('Letter.src/M000026.html');return false;">
|
273
273
|
<span class="method-name">add_text_document</span><span class="method-args">(text)</span>
|
274
274
|
</a>
|
275
275
|
</div>
|
@@ -281,12 +281,12 @@ Add a text document to the request
|
|
281
281
|
</div>
|
282
282
|
</div>
|
283
283
|
|
284
|
-
<div id="method-
|
285
|
-
<a name="
|
284
|
+
<div id="method-M000027" class="method-detail">
|
285
|
+
<a name="M000027"></a>
|
286
286
|
|
287
287
|
<div class="method-heading">
|
288
|
-
<a href="Letter.src/
|
289
|
-
onclick="popupCode('Letter.src/
|
288
|
+
<a href="Letter.src/M000027.html" target="Code" class="method-signature"
|
289
|
+
onclick="popupCode('Letter.src/M000027.html');return false;">
|
290
290
|
<span class="method-name">add_text_document_from_file</span><span class="method-args">(filename)</span>
|
291
291
|
</a>
|
292
292
|
</div>
|
@@ -298,12 +298,12 @@ Add a text document to the request
|
|
298
298
|
</div>
|
299
299
|
</div>
|
300
300
|
|
301
|
-
<div id="method-
|
302
|
-
<a name="
|
301
|
+
<div id="method-M000020" class="method-detail">
|
302
|
+
<a name="M000020"></a>
|
303
303
|
|
304
304
|
<div class="method-heading">
|
305
|
-
<a href="Letter.src/
|
306
|
-
onclick="popupCode('Letter.src/
|
305
|
+
<a href="Letter.src/M000020.html" target="Code" class="method-signature"
|
306
|
+
onclick="popupCode('Letter.src/M000020.html');return false;">
|
307
307
|
<span class="method-name">add_word_document</span><span class="method-args">(text)</span>
|
308
308
|
</a>
|
309
309
|
</div>
|
@@ -315,12 +315,12 @@ Add a Microsoft Word document to the request
|
|
315
315
|
</div>
|
316
316
|
</div>
|
317
317
|
|
318
|
-
<div id="method-
|
319
|
-
<a name="
|
318
|
+
<div id="method-M000021" class="method-detail">
|
319
|
+
<a name="M000021"></a>
|
320
320
|
|
321
321
|
<div class="method-heading">
|
322
|
-
<a href="Letter.src/
|
323
|
-
onclick="popupCode('Letter.src/
|
322
|
+
<a href="Letter.src/M000021.html" target="Code" class="method-signature"
|
323
|
+
onclick="popupCode('Letter.src/M000021.html');return false;">
|
324
324
|
<span class="method-name">add_word_document_from_file</span><span class="method-args">(filename)</span>
|
325
325
|
</a>
|
326
326
|
</div>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_html_document (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 11</span>
|
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">add_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>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_html_document_from_file (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 16</span>
|
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">add_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>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_word_document (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 21</span>
|
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">add_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>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_word_document_from_file (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 26</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_word_document_from_file</span>(<span class="ruby-identifier">filename</span>)
|
15
|
+
<span class="ruby-identifier">add_document_from_file</span>(<span class="ruby-value str">'doc'</span>, <span class="ruby-identifier">filename</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_rtf_document (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 31</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_rtf_document</span>(<span class="ruby-identifier">text</span>)
|
15
|
+
<span class="ruby-identifier">add_document</span>(<span class="ruby-value str">'rtf'</span>, <span class="ruby-identifier">text</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_rtf_document_from_file (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 36</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_rtf_document_from_file</span>(<span class="ruby-identifier">filename</span>)
|
15
|
+
<span class="ruby-identifier">add_document_from_file</span>(<span class="ruby-value str">'rtf'</span>, <span class="ruby-identifier">filename</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_open_office_document (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 41</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_open_office_document</span>(<span class="ruby-identifier">text</span>)
|
15
|
+
<span class="ruby-identifier">add_document</span>(<span class="ruby-value str">'odt'</span>, <span class="ruby-identifier">text</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_open_office_document_from_file (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 46</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_open_office_document_from_file</span>(<span class="ruby-identifier">filename</span>)
|
15
|
+
<span class="ruby-identifier">add_document_from_file</span>(<span class="ruby-value str">'odt'</span>, <span class="ruby-identifier">filename</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_text_document (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 51</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_text_document</span>(<span class="ruby-identifier">text</span>)
|
15
|
+
<span class="ruby-identifier">add_document</span>(<span class="ruby-value str">'txt'</span>, <span class="ruby-identifier">text</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_text_document_from_file (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">add_document_from_file</span>(<span class="ruby-value str">'
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 56</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_text_document_from_file</span>(<span class="ruby-identifier">filename</span>)
|
15
|
+
<span class="ruby-identifier">add_document_from_file</span>(<span class="ruby-value str">'txt'</span>, <span class="ruby-identifier">filename</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_pdf_document (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">add_document</span>(<span class="ruby-value str">'
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 61</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_pdf_document</span>(<span class="ruby-identifier">text</span>)
|
15
|
+
<span class="ruby-identifier">add_document</span>(<span class="ruby-value str">'pdf'</span>, <span class="ruby-identifier">text</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>add_pdf_document_from_file (Postful::Letter)</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/letter.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/postful/letter.rb, line 66</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_pdf_document_from_file</span>(<span class="ruby-identifier">filename</span>)
|
15
|
+
<span class="ruby-identifier">add_document_from_file</span>(<span class="ruby-value str">'pdf'</span>, <span class="ruby-identifier">filename</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|