contacts 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/contacts/base.rb +2 -1
- metadata +5 -48
- data/doc/classes/Contacts.html +0 -195
- data/doc/classes/Contacts.src/M000001.html +0 -22
- data/doc/classes/Contacts.src/M000002.html +0 -24
- data/doc/classes/Contacts/AuthenticationError.html +0 -113
- data/doc/classes/Contacts/Base.html +0 -214
- data/doc/classes/Contacts/Base.src/M000006.html +0 -21
- data/doc/classes/Contacts/Base.src/M000007.html +0 -19
- data/doc/classes/Contacts/Base.src/M000008.html +0 -18
- data/doc/classes/Contacts/Base.src/M000009.html +0 -31
- data/doc/classes/Contacts/Base.src/M000010.html +0 -29
- data/doc/classes/Contacts/Base.src/M000011.html +0 -18
- data/doc/classes/Contacts/ConnectionError.html +0 -113
- data/doc/classes/Contacts/ContactsError.html +0 -111
- data/doc/classes/Contacts/Gmail.html +0 -172
- data/doc/classes/Contacts/Gmail.src/M000005.html +0 -60
- data/doc/classes/Contacts/Hotmail.html +0 -182
- data/doc/classes/Contacts/Hotmail.src/M000012.html +0 -74
- data/doc/classes/Contacts/TypeNotFound.html +0 -113
- data/doc/classes/Contacts/Yahoo.html +0 -187
- data/doc/classes/Contacts/Yahoo.src/M000003.html +0 -41
- data/doc/classes/Contacts/Yahoo.src/M000004.html +0 -45
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -168
- data/doc/files/lib/contacts/base_rb.html +0 -114
- data/doc/files/lib/contacts/gmail_rb.html +0 -108
- data/doc/files/lib/contacts/hotmail_rb.html +0 -101
- data/doc/files/lib/contacts/yahoo_rb.html +0 -108
- data/doc/files/lib/contacts_rb.html +0 -112
- data/doc/fr_class_index.html +0 -35
- data/doc/fr_file_index.html +0 -32
- data/doc/fr_method_index.html +0 -38
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
- data/lib/contacts/foo.diff +0 -156
@@ -1,111 +0,0 @@
|
|
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: Contacts::ContactsError</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">Contacts::ContactsError</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/contacts/base_rb.html">
|
59
|
-
lib/contacts/base.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
|
-
StandardError
|
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
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
<!-- if includes -->
|
90
|
-
|
91
|
-
<div id="section">
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<!-- if method_list -->
|
101
|
-
|
102
|
-
|
103
|
-
</div>
|
104
|
-
|
105
|
-
|
106
|
-
<div id="validator-badges">
|
107
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
108
|
-
</div>
|
109
|
-
|
110
|
-
</body>
|
111
|
-
</html>
|
@@ -1,172 +0,0 @@
|
|
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: Contacts::Gmail</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">Contacts::Gmail</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/contacts/gmail_rb.html">
|
59
|
-
lib/contacts/gmail.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
|
-
<a href="Base.html">
|
69
|
-
Base
|
70
|
-
</a>
|
71
|
-
</td>
|
72
|
-
</tr>
|
73
|
-
</table>
|
74
|
-
</div>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<div id="contextContent">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
<div id="method-list">
|
88
|
-
<h3 class="section-bar">Methods</h3>
|
89
|
-
|
90
|
-
<div class="name-list">
|
91
|
-
<a href="#M000005">real_connect</a>
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
|
95
|
-
</div>
|
96
|
-
|
97
|
-
|
98
|
-
<!-- if includes -->
|
99
|
-
|
100
|
-
<div id="section">
|
101
|
-
|
102
|
-
|
103
|
-
<div id="constants-list">
|
104
|
-
<h3 class="section-bar">Constants</h3>
|
105
|
-
|
106
|
-
<div class="name-list">
|
107
|
-
<table summary="Constants">
|
108
|
-
<tr class="top-aligned-row context-row">
|
109
|
-
<td class="context-item-name">URL</td>
|
110
|
-
<td>=</td>
|
111
|
-
<td class="context-item-value">"https://mail.google.com/mail/"</td>
|
112
|
-
</tr>
|
113
|
-
<tr class="top-aligned-row context-row">
|
114
|
-
<td class="context-item-name">LOGIN_URL</td>
|
115
|
-
<td>=</td>
|
116
|
-
<td class="context-item-value">"https://www.google.com/accounts/ServiceLoginAuth"</td>
|
117
|
-
</tr>
|
118
|
-
<tr class="top-aligned-row context-row">
|
119
|
-
<td class="context-item-name">LOGIN_REFERER_URL</td>
|
120
|
-
<td>=</td>
|
121
|
-
<td class="context-item-value">"https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%3Fui%3Dhtml%26zy%3Dl&ltmpl=yj_blanco&ltmplcache=2&hl=en"</td>
|
122
|
-
</tr>
|
123
|
-
<tr class="top-aligned-row context-row">
|
124
|
-
<td class="context-item-name">CONTACT_LIST_URL</td>
|
125
|
-
<td>=</td>
|
126
|
-
<td class="context-item-value">"https://mail.google.com/mail/?view=cl&search=contacts&pnl=a"</td>
|
127
|
-
</tr>
|
128
|
-
<tr class="top-aligned-row context-row">
|
129
|
-
<td class="context-item-name">PROTOCOL_ERROR</td>
|
130
|
-
<td>=</td>
|
131
|
-
<td class="context-item-value">"Gmail has changed its protocols, please upgrade this library first. If that does not work, contact lucas@rufy.com with this error"</td>
|
132
|
-
</tr>
|
133
|
-
</table>
|
134
|
-
</div>
|
135
|
-
</div>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
<!-- if method_list -->
|
143
|
-
<div id="methods">
|
144
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
145
|
-
|
146
|
-
<div id="method-M000005" class="method-detail">
|
147
|
-
<a name="M000005"></a>
|
148
|
-
|
149
|
-
<div class="method-heading">
|
150
|
-
<a href="Gmail.src/M000005.html" target="Code" class="method-signature"
|
151
|
-
onclick="popupCode('Gmail.src/M000005.html');return false;">
|
152
|
-
<span class="method-name">real_connect</span><span class="method-args">()</span>
|
153
|
-
</a>
|
154
|
-
</div>
|
155
|
-
|
156
|
-
<div class="method-description">
|
157
|
-
</div>
|
158
|
-
</div>
|
159
|
-
|
160
|
-
|
161
|
-
</div>
|
162
|
-
|
163
|
-
|
164
|
-
</div>
|
165
|
-
|
166
|
-
|
167
|
-
<div id="validator-badges">
|
168
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
169
|
-
</div>
|
170
|
-
|
171
|
-
</body>
|
172
|
-
</html>
|
@@ -1,60 +0,0 @@
|
|
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>real_connect (Contacts::Gmail)</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/contacts/gmail.rb, line 11</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">real_connect</span>
|
15
|
-
<span class="ruby-identifier">postdata</span> = <span class="ruby-value str">"ltmpl=yj_blanco"</span>
|
16
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"&continue=#{CGI.escape(URL)}"</span>
|
17
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"&ltmplcache=2"</span>
|
18
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"&service=mail"</span>
|
19
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"&rm=false"</span>
|
20
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"&ltmpl=yj_blanco"</span>
|
21
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"&hl=en"</span>
|
22
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"&Email=#{CGI.escape(login)}"</span>
|
23
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"&Passwd=#{CGI.escape(password)}"</span>
|
24
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"&rmShown=1"</span>
|
25
|
-
<span class="ruby-identifier">postdata</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"&null=Sign+in"</span>
|
26
|
-
|
27
|
-
<span class="ruby-identifier">time</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">to_i</span>
|
28
|
-
<span class="ruby-identifier">time_past</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">-</span> <span class="ruby-value">8</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">rand</span>(<span class="ruby-value">12</span>)
|
29
|
-
<span class="ruby-identifier">cookie</span> = <span class="ruby-node">"GMAIL_LOGIN=T#{time_past}/#{time_past}/#{time}"</span>
|
30
|
-
|
31
|
-
<span class="ruby-identifier">data</span>, <span class="ruby-identifier">resp</span>, <span class="ruby-identifier">cookies</span>, <span class="ruby-identifier">forward</span>, <span class="ruby-identifier">old_url</span> = <span class="ruby-identifier">post</span>(<span class="ruby-constant">LOGIN_URL</span>, <span class="ruby-identifier">postdata</span>, <span class="ruby-identifier">cookie</span>, <span class="ruby-constant">LOGIN_REFERER_URL</span>) <span class="ruby-operator">+</span> [<span class="ruby-constant">LOGIN_URL</span>]
|
32
|
-
|
33
|
-
<span class="ruby-identifier">cookies</span> = <span class="ruby-identifier">remove_cookie</span>(<span class="ruby-value str">"GMAIL_LOGIN"</span>, <span class="ruby-identifier">cookies</span>)
|
34
|
-
|
35
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">index</span>(<span class="ruby-value str">"Username and password do not match"</span>)
|
36
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">AuthenticationError</span>, <span class="ruby-value str">"Username and password do not match"</span>
|
37
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">index</span>(<span class="ruby-value str">"Required field must not be blank"</span>)
|
38
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">AuthenticationError</span>, <span class="ruby-value str">"Login and password must not be blank"</span>
|
39
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">index</span>(<span class="ruby-value str">"errormsg_0_logincaptcha"</span>)
|
40
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">AuthenticationError</span>, <span class="ruby-value str">"Captcha error"</span>
|
41
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">index</span>(<span class="ruby-value str">"Invalid request"</span>)
|
42
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ConnectionError</span>, <span class="ruby-constant">PROTOCOL_ERROR</span>
|
43
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">cookies</span> <span class="ruby-operator">==</span> <span class="ruby-value str">""</span>
|
44
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ConnectionError</span>, <span class="ruby-constant">PROTOCOL_ERROR</span>
|
45
|
-
<span class="ruby-keyword kw">end</span>
|
46
|
-
|
47
|
-
<span class="ruby-keyword kw">until</span> <span class="ruby-identifier">forward</span>.<span class="ruby-identifier">nil?</span>
|
48
|
-
<span class="ruby-identifier">data</span>, <span class="ruby-identifier">resp</span>, <span class="ruby-identifier">cookies</span>, <span class="ruby-identifier">forward</span>, <span class="ruby-identifier">old_url</span> = <span class="ruby-identifier">get</span>(<span class="ruby-identifier">forward</span>, <span class="ruby-identifier">cookies</span>, <span class="ruby-identifier">old_url</span>) <span class="ruby-operator">+</span> [<span class="ruby-identifier">forward</span>]
|
49
|
-
<span class="ruby-keyword kw">end</span>
|
50
|
-
<span class="ruby-identifier">cookies</span> = <span class="ruby-identifier">remove_cookie</span>(<span class="ruby-value str">"LSID"</span>, <span class="ruby-identifier">cookies</span>)
|
51
|
-
<span class="ruby-identifier">cookies</span> = <span class="ruby-identifier">remove_cookie</span>(<span class="ruby-value str">"GV"</span>, <span class="ruby-identifier">cookies</span>)
|
52
|
-
|
53
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">resp</span>.<span class="ruby-identifier">code_type</span> <span class="ruby-operator">!=</span> <span class="ruby-constant">Net</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTPOK</span>
|
54
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ConnectionError</span>, <span class="ruby-constant">PROTOCOL_ERROR</span>
|
55
|
-
<span class="ruby-keyword kw">end</span>
|
56
|
-
|
57
|
-
<span class="ruby-ivar">@cookies</span> = <span class="ruby-identifier">cookies</span>
|
58
|
-
<span class="ruby-keyword kw">end</span></pre>
|
59
|
-
</body>
|
60
|
-
</html>
|
@@ -1,182 +0,0 @@
|
|
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: Contacts::Hotmail</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">Contacts::Hotmail</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/contacts/hotmail_rb.html">
|
59
|
-
lib/contacts/hotmail.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
|
-
<a href="Base.html">
|
69
|
-
Base
|
70
|
-
</a>
|
71
|
-
</td>
|
72
|
-
</tr>
|
73
|
-
</table>
|
74
|
-
</div>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<div id="contextContent">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
<div id="method-list">
|
88
|
-
<h3 class="section-bar">Methods</h3>
|
89
|
-
|
90
|
-
<div class="name-list">
|
91
|
-
<a href="#M000012">real_connect</a>
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
|
95
|
-
</div>
|
96
|
-
|
97
|
-
|
98
|
-
<!-- if includes -->
|
99
|
-
|
100
|
-
<div id="section">
|
101
|
-
|
102
|
-
|
103
|
-
<div id="constants-list">
|
104
|
-
<h3 class="section-bar">Constants</h3>
|
105
|
-
|
106
|
-
<div class="name-list">
|
107
|
-
<table summary="Constants">
|
108
|
-
<tr class="top-aligned-row context-row">
|
109
|
-
<td class="context-item-name">URL</td>
|
110
|
-
<td>=</td>
|
111
|
-
<td class="context-item-value">"http://login.live.com/login.srf?id=2"</td>
|
112
|
-
</tr>
|
113
|
-
<tr class="top-aligned-row context-row">
|
114
|
-
<td class="context-item-name">OLD_CONTACT_LIST_URL</td>
|
115
|
-
<td>=</td>
|
116
|
-
<td class="context-item-value">"http://%s/cgi-bin/addresses"</td>
|
117
|
-
</tr>
|
118
|
-
<tr class="top-aligned-row context-row">
|
119
|
-
<td class="context-item-name">NEW_CONTACT_LIST_URL</td>
|
120
|
-
<td>=</td>
|
121
|
-
<td class="context-item-value">"http://%s/mail/GetContacts.aspx"</td>
|
122
|
-
</tr>
|
123
|
-
<tr class="top-aligned-row context-row">
|
124
|
-
<td class="context-item-name">COMPOSE_URL</td>
|
125
|
-
<td>=</td>
|
126
|
-
<td class="context-item-value">"http://%s/cgi-bin/compose?"</td>
|
127
|
-
</tr>
|
128
|
-
<tr class="top-aligned-row context-row">
|
129
|
-
<td class="context-item-name">PROTOCOL_ERROR</td>
|
130
|
-
<td>=</td>
|
131
|
-
<td class="context-item-value">"Hotmail has changed its protocols, please upgrade this library first. If that does not work, report this error at http://rubyforge.org/forum/?group_id=2693"</td>
|
132
|
-
</tr>
|
133
|
-
<tr class="top-aligned-row context-row">
|
134
|
-
<td class="context-item-name">PWDPAD</td>
|
135
|
-
<td>=</td>
|
136
|
-
<td class="context-item-value">"IfYouAreReadingThisYouHaveTooMuchFreeTime"</td>
|
137
|
-
</tr>
|
138
|
-
<tr class="top-aligned-row context-row">
|
139
|
-
<td class="context-item-name">MAX_HTTP_THREADS</td>
|
140
|
-
<td>=</td>
|
141
|
-
<td class="context-item-value">8</td>
|
142
|
-
</tr>
|
143
|
-
</table>
|
144
|
-
</div>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
<!-- if method_list -->
|
153
|
-
<div id="methods">
|
154
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
155
|
-
|
156
|
-
<div id="method-M000012" class="method-detail">
|
157
|
-
<a name="M000012"></a>
|
158
|
-
|
159
|
-
<div class="method-heading">
|
160
|
-
<a href="Hotmail.src/M000012.html" target="Code" class="method-signature"
|
161
|
-
onclick="popupCode('Hotmail.src/M000012.html');return false;">
|
162
|
-
<span class="method-name">real_connect</span><span class="method-args">()</span>
|
163
|
-
</a>
|
164
|
-
</div>
|
165
|
-
|
166
|
-
<div class="method-description">
|
167
|
-
</div>
|
168
|
-
</div>
|
169
|
-
|
170
|
-
|
171
|
-
</div>
|
172
|
-
|
173
|
-
|
174
|
-
</div>
|
175
|
-
|
176
|
-
|
177
|
-
<div id="validator-badges">
|
178
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
179
|
-
</div>
|
180
|
-
|
181
|
-
</body>
|
182
|
-
</html>
|