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
|
@@ -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 32</span>
|
|
14
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">
|
|
15
|
+
<span class="ruby-identifier">add_simple_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>
|
|
@@ -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_word_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 37</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_word_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">'doc'</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 42</span>
|
|
14
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">
|
|
15
|
+
<span class="ruby-identifier">add_simple_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>
|
|
@@ -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 47</span>
|
|
14
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">
|
|
15
|
+
<span class="ruby-identifier">add_simple_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>
|
|
@@ -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_rtf_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 52</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_rtf_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">'rtf'</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 57</span>
|
|
14
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">
|
|
15
|
+
<span class="ruby-identifier">add_simple_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>
|
|
@@ -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 62</span>
|
|
14
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">
|
|
15
|
+
<span class="ruby-identifier">add_simple_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>
|
|
@@ -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_open_office_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 67</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_open_office_document_from_url</span>(<span class="ruby-identifier">url</span>)
|
|
15
|
+
<span class="ruby-identifier">add_simple_document_from_file</span>(<span class="ruby-value str">'odt'</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 72</span>
|
|
14
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">
|
|
15
|
+
<span class="ruby-identifier">add_simple_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>
|
|
@@ -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 77</span>
|
|
14
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">
|
|
15
|
+
<span class="ruby-identifier">add_simple_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>
|
|
@@ -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_text_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 82</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_text_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">'txt'</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 87</span>
|
|
14
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">
|
|
15
|
+
<span class="ruby-identifier">add_simple_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>
|
|
@@ -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 92</span>
|
|
14
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">
|
|
15
|
+
<span class="ruby-identifier">add_simple_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>
|
|
@@ -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_pdf_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 97</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_pdf_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">'pdf'</span>, <span class="ruby-identifier">url</span>)
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -92,10 +92,10 @@ Represent a Postful order.
|
|
|
92
92
|
<h3 class="section-bar">Methods</h3>
|
|
93
93
|
|
|
94
94
|
<div class="name-list">
|
|
95
|
-
<a href="#
|
|
96
|
-
<a href="#
|
|
97
|
-
<a href="#
|
|
98
|
-
<a href="#
|
|
95
|
+
<a href="#M000015">cancel</a>
|
|
96
|
+
<a href="#M000016">new</a>
|
|
97
|
+
<a href="#M000013">preview</a>
|
|
98
|
+
<a href="#M000014">refresh</a>
|
|
99
99
|
</div>
|
|
100
100
|
</div>
|
|
101
101
|
|
|
@@ -203,12 +203,12 @@ Represent a Postful order.
|
|
|
203
203
|
<div id="methods">
|
|
204
204
|
<h3 class="section-bar">Public Class methods</h3>
|
|
205
205
|
|
|
206
|
-
<div id="method-
|
|
207
|
-
<a name="
|
|
206
|
+
<div id="method-M000016" class="method-detail">
|
|
207
|
+
<a name="M000016"></a>
|
|
208
208
|
|
|
209
209
|
<div class="method-heading">
|
|
210
|
-
<a href="Order.src/
|
|
211
|
-
onclick="popupCode('Order.src/
|
|
210
|
+
<a href="Order.src/M000016.html" target="Code" class="method-signature"
|
|
211
|
+
onclick="popupCode('Order.src/M000016.html');return false;">
|
|
212
212
|
<span class="method-name">new</span><span class="method-args">(&initializer)</span>
|
|
213
213
|
</a>
|
|
214
214
|
</div>
|
|
@@ -219,12 +219,12 @@ Represent a Postful order.
|
|
|
219
219
|
|
|
220
220
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
221
221
|
|
|
222
|
-
<div id="method-
|
|
223
|
-
<a name="
|
|
222
|
+
<div id="method-M000015" class="method-detail">
|
|
223
|
+
<a name="M000015"></a>
|
|
224
224
|
|
|
225
225
|
<div class="method-heading">
|
|
226
|
-
<a href="Order.src/
|
|
227
|
-
onclick="popupCode('Order.src/
|
|
226
|
+
<a href="Order.src/M000015.html" target="Code" class="method-signature"
|
|
227
|
+
onclick="popupCode('Order.src/M000015.html');return false;">
|
|
228
228
|
<span class="method-name">cancel</span><span class="method-args">()</span>
|
|
229
229
|
</a>
|
|
230
230
|
</div>
|
|
@@ -233,12 +233,12 @@ Represent a Postful order.
|
|
|
233
233
|
</div>
|
|
234
234
|
</div>
|
|
235
235
|
|
|
236
|
-
<div id="method-
|
|
237
|
-
<a name="
|
|
236
|
+
<div id="method-M000013" class="method-detail">
|
|
237
|
+
<a name="M000013"></a>
|
|
238
238
|
|
|
239
239
|
<div class="method-heading">
|
|
240
|
-
<a href="Order.src/
|
|
241
|
-
onclick="popupCode('Order.src/
|
|
240
|
+
<a href="Order.src/M000013.html" target="Code" class="method-signature"
|
|
241
|
+
onclick="popupCode('Order.src/M000013.html');return false;">
|
|
242
242
|
<span class="method-name">preview</span><span class="method-args">()</span>
|
|
243
243
|
</a>
|
|
244
244
|
</div>
|
|
@@ -247,12 +247,12 @@ Represent a Postful order.
|
|
|
247
247
|
</div>
|
|
248
248
|
</div>
|
|
249
249
|
|
|
250
|
-
<div id="method-
|
|
251
|
-
<a name="
|
|
250
|
+
<div id="method-M000014" class="method-detail">
|
|
251
|
+
<a name="M000014"></a>
|
|
252
252
|
|
|
253
253
|
<div class="method-heading">
|
|
254
|
-
<a href="Order.src/
|
|
255
|
-
onclick="popupCode('Order.src/
|
|
254
|
+
<a href="Order.src/M000014.html" target="Code" class="method-signature"
|
|
255
|
+
onclick="popupCode('Order.src/M000014.html');return false;">
|
|
256
256
|
<span class="method-name">refresh</span><span class="method-args">()</span>
|
|
257
257
|
</a>
|
|
258
258
|
</div>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -95,9 +95,9 @@ 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="#
|
|
98
|
+
<a href="#M000025">add_border</a>
|
|
99
|
+
<a href="#M000024">back_image_from_file=</a>
|
|
100
|
+
<a href="#M000023">front_image_from_file=</a>
|
|
101
101
|
</div>
|
|
102
102
|
</div>
|
|
103
103
|
|
|
@@ -165,12 +165,12 @@ href="Service.html">Service</a>.
|
|
|
165
165
|
<div id="methods">
|
|
166
166
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
167
167
|
|
|
168
|
-
<div id="method-
|
|
169
|
-
<a name="
|
|
168
|
+
<div id="method-M000025" class="method-detail">
|
|
169
|
+
<a name="M000025"></a>
|
|
170
170
|
|
|
171
171
|
<div class="method-heading">
|
|
172
|
-
<a href="Postcard.src/
|
|
173
|
-
onclick="popupCode('Postcard.src/
|
|
172
|
+
<a href="Postcard.src/M000025.html" target="Code" class="method-signature"
|
|
173
|
+
onclick="popupCode('Postcard.src/M000025.html');return false;">
|
|
174
174
|
<span class="method-name">add_border</span><span class="method-args">()</span>
|
|
175
175
|
</a>
|
|
176
176
|
</div>
|
|
@@ -179,12 +179,12 @@ href="Service.html">Service</a>.
|
|
|
179
179
|
</div>
|
|
180
180
|
</div>
|
|
181
181
|
|
|
182
|
-
<div id="method-
|
|
183
|
-
<a name="
|
|
182
|
+
<div id="method-M000024" class="method-detail">
|
|
183
|
+
<a name="M000024"></a>
|
|
184
184
|
|
|
185
185
|
<div class="method-heading">
|
|
186
|
-
<a href="Postcard.src/
|
|
187
|
-
onclick="popupCode('Postcard.src/
|
|
186
|
+
<a href="Postcard.src/M000024.html" target="Code" class="method-signature"
|
|
187
|
+
onclick="popupCode('Postcard.src/M000024.html');return false;">
|
|
188
188
|
<span class="method-name">back_image_from_file=</span><span class="method-args">(filename)</span>
|
|
189
189
|
</a>
|
|
190
190
|
</div>
|
|
@@ -193,12 +193,12 @@ href="Service.html">Service</a>.
|
|
|
193
193
|
</div>
|
|
194
194
|
</div>
|
|
195
195
|
|
|
196
|
-
<div id="method-
|
|
197
|
-
<a name="
|
|
196
|
+
<div id="method-M000023" class="method-detail">
|
|
197
|
+
<a name="M000023"></a>
|
|
198
198
|
|
|
199
199
|
<div class="method-heading">
|
|
200
|
-
<a href="Postcard.src/
|
|
201
|
-
onclick="popupCode('Postcard.src/
|
|
200
|
+
<a href="Postcard.src/M000023.html" target="Code" class="method-signature"
|
|
201
|
+
onclick="popupCode('Postcard.src/M000023.html');return false;">
|
|
202
202
|
<span class="method-name">front_image_from_file=</span><span class="method-args">(filename)</span>
|
|
203
203
|
</a>
|
|
204
204
|
</div>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,221 @@
|
|
|
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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
|
+
<head>
|
|
8
|
+
<title>Class: Postful::Section</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
12
|
+
<script type="text/javascript">
|
|
13
|
+
// <![CDATA[
|
|
14
|
+
|
|
15
|
+
function popupCode( url ) {
|
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function toggleCode( id ) {
|
|
20
|
+
if ( document.getElementById )
|
|
21
|
+
elem = document.getElementById( id );
|
|
22
|
+
else if ( document.all )
|
|
23
|
+
elem = eval( "document.all." + id );
|
|
24
|
+
else
|
|
25
|
+
return false;
|
|
26
|
+
|
|
27
|
+
elemStyle = elem.style;
|
|
28
|
+
|
|
29
|
+
if ( elemStyle.display != "block" ) {
|
|
30
|
+
elemStyle.display = "block"
|
|
31
|
+
} else {
|
|
32
|
+
elemStyle.display = "none"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Make codeblocks hidden by default
|
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
|
40
|
+
|
|
41
|
+
// ]]>
|
|
42
|
+
</script>
|
|
43
|
+
|
|
44
|
+
</head>
|
|
45
|
+
<body>
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
<div id="classHeader">
|
|
50
|
+
<table class="header-table">
|
|
51
|
+
<tr class="top-aligned-row">
|
|
52
|
+
<td><strong>Class</strong></td>
|
|
53
|
+
<td class="class-name-in-header">Postful::Section</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr class="top-aligned-row">
|
|
56
|
+
<td><strong>In:</strong></td>
|
|
57
|
+
<td>
|
|
58
|
+
<a href="../../files/lib/postful/section_rb.html">
|
|
59
|
+
lib/postful/section.rb
|
|
60
|
+
</a>
|
|
61
|
+
<br />
|
|
62
|
+
</td>
|
|
63
|
+
</tr>
|
|
64
|
+
|
|
65
|
+
<tr class="top-aligned-row">
|
|
66
|
+
<td><strong>Parent:</strong></td>
|
|
67
|
+
<td>
|
|
68
|
+
Object
|
|
69
|
+
</td>
|
|
70
|
+
</tr>
|
|
71
|
+
</table>
|
|
72
|
+
</div>
|
|
73
|
+
<!-- banner header -->
|
|
74
|
+
|
|
75
|
+
<div id="bodyContent">
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<div id="contextContent">
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<div id="method-list">
|
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
|
87
|
+
|
|
88
|
+
<div class="name-list">
|
|
89
|
+
<a href="#M000022">build_request</a>
|
|
90
|
+
<a href="#M000021">do_upload</a>
|
|
91
|
+
<a href="#M000019">filename</a>
|
|
92
|
+
<a href="#M000017">new</a>
|
|
93
|
+
<a href="#M000020">requires_upload?</a>
|
|
94
|
+
<a href="#M000018">text</a>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
<!-- if includes -->
|
|
102
|
+
<div id="includes">
|
|
103
|
+
<h3 class="section-bar">Included Modules</h3>
|
|
104
|
+
|
|
105
|
+
<div id="includes-list">
|
|
106
|
+
<span class="include-name">Util</span>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<div id="section">
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
<!-- if method_list -->
|
|
120
|
+
<div id="methods">
|
|
121
|
+
<h3 class="section-bar">Public Class methods</h3>
|
|
122
|
+
|
|
123
|
+
<div id="method-M000017" class="method-detail">
|
|
124
|
+
<a name="M000017"></a>
|
|
125
|
+
|
|
126
|
+
<div class="method-heading">
|
|
127
|
+
<a href="Section.src/M000017.html" target="Code" class="method-signature"
|
|
128
|
+
onclick="popupCode('Section.src/M000017.html');return false;">
|
|
129
|
+
<span class="method-name">new</span><span class="method-args">(name, email, password)</span>
|
|
130
|
+
</a>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div class="method-description">
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
|
138
|
+
|
|
139
|
+
<div id="method-M000022" class="method-detail">
|
|
140
|
+
<a name="M000022"></a>
|
|
141
|
+
|
|
142
|
+
<div class="method-heading">
|
|
143
|
+
<a href="Section.src/M000022.html" target="Code" class="method-signature"
|
|
144
|
+
onclick="popupCode('Section.src/M000022.html');return false;">
|
|
145
|
+
<span class="method-name">build_request</span><span class="method-args">(builder)</span>
|
|
146
|
+
</a>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
<div class="method-description">
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
<div id="method-M000021" class="method-detail">
|
|
154
|
+
<a name="M000021"></a>
|
|
155
|
+
|
|
156
|
+
<div class="method-heading">
|
|
157
|
+
<a href="Section.src/M000021.html" target="Code" class="method-signature"
|
|
158
|
+
onclick="popupCode('Section.src/M000021.html');return false;">
|
|
159
|
+
<span class="method-name">do_upload</span><span class="method-args">()</span>
|
|
160
|
+
</a>
|
|
161
|
+
</div>
|
|
162
|
+
|
|
163
|
+
<div class="method-description">
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
<div id="method-M000019" class="method-detail">
|
|
168
|
+
<a name="M000019"></a>
|
|
169
|
+
|
|
170
|
+
<div class="method-heading">
|
|
171
|
+
<a href="Section.src/M000019.html" target="Code" class="method-signature"
|
|
172
|
+
onclick="popupCode('Section.src/M000019.html');return false;">
|
|
173
|
+
<span class="method-name">filename</span><span class="method-args">(filename)</span>
|
|
174
|
+
</a>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<div class="method-description">
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
<div id="method-M000020" class="method-detail">
|
|
182
|
+
<a name="M000020"></a>
|
|
183
|
+
|
|
184
|
+
<div class="method-heading">
|
|
185
|
+
<a href="Section.src/M000020.html" target="Code" class="method-signature"
|
|
186
|
+
onclick="popupCode('Section.src/M000020.html');return false;">
|
|
187
|
+
<span class="method-name">requires_upload?</span><span class="method-args">()</span>
|
|
188
|
+
</a>
|
|
189
|
+
</div>
|
|
190
|
+
|
|
191
|
+
<div class="method-description">
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
|
|
195
|
+
<div id="method-M000018" class="method-detail">
|
|
196
|
+
<a name="M000018"></a>
|
|
197
|
+
|
|
198
|
+
<div class="method-heading">
|
|
199
|
+
<a href="Section.src/M000018.html" target="Code" class="method-signature"
|
|
200
|
+
onclick="popupCode('Section.src/M000018.html');return false;">
|
|
201
|
+
<span class="method-name">text</span><span class="method-args">(text)</span>
|
|
202
|
+
</a>
|
|
203
|
+
</div>
|
|
204
|
+
|
|
205
|
+
<div class="method-description">
|
|
206
|
+
</div>
|
|
207
|
+
</div>
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
</div>
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
</div>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
<div id="validator-badges">
|
|
217
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
218
|
+
</div>
|
|
219
|
+
|
|
220
|
+
</body>
|
|
221
|
+
</html>
|