al_papi 0.0.5 → 0.0.6

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: al_papi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: &70169577929620 !ruby/object:Gem::Requirement
16
+ requirement: &70339455604240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.6.7
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70169577929620
24
+ version_requirements: *70339455604240
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &70169577928300 !ruby/object:Gem::Requirement
27
+ requirement: &70339455603720 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '2.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70169577928300
35
+ version_requirements: *70339455603720
36
36
  description: Wraps AuthorityLabs Partner API calls in a gem.
37
37
  email: ''
38
38
  executables: []
@@ -41,15 +41,6 @@ extra_rdoc_files:
41
41
  - README.rdoc
42
42
  files:
43
43
  - lib/al_papi.rb
44
- - doc/class_list.html
45
- - doc/file_list.html
46
- - doc/AlPapi.html
47
- - doc/frames.html
48
- - doc/method_list.html
49
- - doc/_index.html
50
- - doc/file.README.html
51
- - doc/index.html
52
- - doc/top-level-namespace.html
53
44
  - README.rdoc
54
45
  homepage: http://github.com/mtchavez/al_papi
55
46
  licenses: []
data/doc/AlPapi.html DELETED
@@ -1,108 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Module: AlPapi
8
-
9
- &mdash; Documentation by YARD 0.7.4
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- relpath = '';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="_index.html">Index (A)</a> &raquo;
37
-
38
-
39
- <span class="title">AlPapi</span>
40
-
41
-
42
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
- </div>
44
-
45
- <div id="search">
46
-
47
- <a id="class_list_link" href="#">Class List</a>
48
-
49
- <a id="method_list_link" href="#">Method List</a>
50
-
51
- <a id="file_list_link" href="#">File List</a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1>Module: AlPapi
60
-
61
-
62
-
63
- </h1>
64
-
65
- <dl class="box">
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
- <dt class="r1 last">Defined in:</dt>
75
- <dd class="r1 last">lib/al_papi.rb<span class="defines">,<br />
76
- lib/al_papi/http.rb,<br /> lib/al_papi/config.rb,<br /> lib/al_papi/locales.rb,<br /> lib/al_papi/engines.rb,<br /> lib/al_papi/request.rb,<br /> lib/al_papi/response.rb,<br /> lib/al_papi/request_error.rb</span>
77
- </dd>
78
-
79
- </dl>
80
- <div class="clear"></div>
81
-
82
- <h2>Defined Under Namespace</h2>
83
- <p class="children">
84
-
85
-
86
-
87
-
88
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="AlPapi/Config.html" title="AlPapi::Config (class)">Config</a></span>, <span class='object_link'><a href="AlPapi/Engines.html" title="AlPapi::Engines (class)">Engines</a></span>, <span class='object_link'><a href="AlPapi/Http.html" title="AlPapi::Http (class)">Http</a></span>, <span class='object_link'><a href="AlPapi/Locales.html" title="AlPapi::Locales (class)">Locales</a></span>, <span class='object_link'><a href="AlPapi/Request.html" title="AlPapi::Request (class)">Request</a></span>, <span class='object_link'><a href="AlPapi/RequestError.html" title="AlPapi::RequestError (class)">RequestError</a></span>, <span class='object_link'><a href="AlPapi/Response.html" title="AlPapi::Response (class)">Response</a></span>
89
-
90
-
91
- </p>
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
- </div>
100
-
101
- <div id="footer">
102
- Generated on Wed Dec 28 13:51:20 2011 by
103
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
104
- 0.7.4 (ruby-1.9.3).
105
- </div>
106
-
107
- </body>
108
- </html>
data/doc/_index.html DELETED
@@ -1,195 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Documentation by YARD 0.7.4
8
-
9
- </title>
10
-
11
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
12
-
13
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <script type="text/javascript" charset="utf-8">
16
- relpath = '';
17
- if (relpath != '') relpath += '/';
18
- </script>
19
-
20
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
23
-
24
-
25
- </head>
26
- <body>
27
- <script type="text/javascript" charset="utf-8">
28
- if (window.top.frames.main) document.body.className = 'frames';
29
- </script>
30
-
31
- <div id="header">
32
- <div id="menu">
33
-
34
-
35
- <span class="title"></span>
36
-
37
-
38
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
- </div>
40
-
41
- <div id="search">
42
-
43
- <a id="class_list_link" href="#">Class List</a>
44
-
45
- <a id="method_list_link" href="#">Method List</a>
46
-
47
- <a id="file_list_link" href="#">File List</a>
48
-
49
- </div>
50
- <div class="clear"></div>
51
- </div>
52
-
53
- <iframe id="search_frame"></iframe>
54
-
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.7.4</h1>
56
- <div id="listing">
57
- <h1 class="alphaindex">Alphabetic Index</h1>
58
-
59
- <h2>File Listing</h2>
60
- <ul id="files">
61
-
62
-
63
- <li class="r1"><a href="index.html" title="README">README</a></li>
64
-
65
-
66
- </ul>
67
-
68
- <div class="clear"></div>
69
- <h2>Namespace Listing A-Z</h2>
70
-
71
-
72
-
73
-
74
- <table>
75
- <tr>
76
- <td valign='top' width="33%">
77
-
78
-
79
- <ul id="alpha_A" class="alpha">
80
- <li class="letter">A</li>
81
- <ul>
82
-
83
- <li>
84
- <span class='object_link'><a href="AlPapi.html" title="AlPapi (module)">AlPapi</a></span>
85
-
86
- </li>
87
-
88
- </ul>
89
- </ul>
90
-
91
-
92
- <ul id="alpha_C" class="alpha">
93
- <li class="letter">C</li>
94
- <ul>
95
-
96
- <li>
97
- <span class='object_link'><a href="AlPapi/Config.html" title="AlPapi::Config (class)">Config</a></span>
98
-
99
- <small>(AlPapi)</small>
100
-
101
- </li>
102
-
103
- </ul>
104
- </ul>
105
-
106
-
107
- <ul id="alpha_E" class="alpha">
108
- <li class="letter">E</li>
109
- <ul>
110
-
111
- <li>
112
- <span class='object_link'><a href="AlPapi/Engines.html" title="AlPapi::Engines (class)">Engines</a></span>
113
-
114
- <small>(AlPapi)</small>
115
-
116
- </li>
117
-
118
- </ul>
119
- </ul>
120
-
121
-
122
- <ul id="alpha_H" class="alpha">
123
- <li class="letter">H</li>
124
- <ul>
125
-
126
- <li>
127
- <span class='object_link'><a href="AlPapi/Http.html" title="AlPapi::Http (class)">Http</a></span>
128
-
129
- <small>(AlPapi)</small>
130
-
131
- </li>
132
-
133
- </ul>
134
- </ul>
135
-
136
-
137
- <ul id="alpha_L" class="alpha">
138
- <li class="letter">L</li>
139
- <ul>
140
-
141
- <li>
142
- <span class='object_link'><a href="AlPapi/Locales.html" title="AlPapi::Locales (class)">Locales</a></span>
143
-
144
- <small>(AlPapi)</small>
145
-
146
- </li>
147
-
148
- </ul>
149
- </ul>
150
-
151
-
152
- <ul id="alpha_R" class="alpha">
153
- <li class="letter">R</li>
154
- <ul>
155
-
156
- <li>
157
- <span class='object_link'><a href="AlPapi/Request.html" title="AlPapi::Request (class)">Request</a></span>
158
-
159
- <small>(AlPapi)</small>
160
-
161
- </li>
162
-
163
- <li>
164
- <span class='object_link'><a href="AlPapi/RequestError.html" title="AlPapi::RequestError (class)">RequestError</a></span>
165
-
166
- <small>(AlPapi)</small>
167
-
168
- </li>
169
-
170
- <li>
171
- <span class='object_link'><a href="AlPapi/Response.html" title="AlPapi::Response (class)">Response</a></span>
172
-
173
- <small>(AlPapi)</small>
174
-
175
- </li>
176
-
177
- </ul>
178
- </ul>
179
-
180
- </td>
181
- </tr>
182
- </table>
183
-
184
- </div>
185
-
186
- </div>
187
-
188
- <div id="footer">
189
- Generated on Wed Dec 28 13:51:20 2011 by
190
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
191
- 0.7.4 (ruby-1.9.3).
192
- </div>
193
-
194
- </body>
195
- </html>
data/doc/class_list.html DELETED
@@ -1,47 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html>
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
-
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
-
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
-
11
-
12
-
13
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
-
17
-
18
- <base id="base_target" target="_parent" />
19
- </head>
20
- <body>
21
- <script type="text/javascript" charset="utf-8">
22
- if (window.top.frames.main) {
23
- document.getElementById('base_target').target = 'main';
24
- document.body.className = 'frames';
25
- }
26
- </script>
27
- <div id="content">
28
- <h1 id="full_list_header">Class List</h1>
29
- <div id="nav">
30
-
31
- <a target="_self" href="class_list.html">Classes</a>
32
-
33
- <a target="_self" href="method_list.html">Methods</a>
34
-
35
- <a target="_self" href="file_list.html">Files</a>
36
-
37
- </div>
38
- <div id="search">Search: <input type="text" /></div>
39
-
40
- <ul id="full_list" class="class">
41
- <li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
42
- <li><a class='toggle'></a> <span class='object_link'><a href="AlPapi.html" title="AlPapi (module)">AlPapi</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="AlPapi/Config.html" title="AlPapi::Config (class)">Config</a></span> &lt; Object<small class='search_info'>AlPapi</small></li><li><span class='object_link'><a href="AlPapi/Engines.html" title="AlPapi::Engines (class)">Engines</a></span> &lt; Object<small class='search_info'>AlPapi</small></li><li><span class='object_link'><a href="AlPapi/Http.html" title="AlPapi::Http (class)">Http</a></span> &lt; Object<small class='search_info'>AlPapi</small></li><li><span class='object_link'><a href="AlPapi/Locales.html" title="AlPapi::Locales (class)">Locales</a></span> &lt; Object<small class='search_info'>AlPapi</small></li><li><span class='object_link'><a href="AlPapi/Request.html" title="AlPapi::Request (class)">Request</a></span> &lt; Object<small class='search_info'>AlPapi</small></li><li><span class='object_link'><a href="AlPapi/RequestError.html" title="AlPapi::RequestError (class)">RequestError</a></span> &lt; Object<small class='search_info'>AlPapi</small></li><li><span class='object_link'><a href="AlPapi/Response.html" title="AlPapi::Response (class)">Response</a></span> &lt; Object<small class='search_info'>AlPapi</small></li></ul>
43
-
44
- </ul>
45
- </div>
46
- </body>
47
- </html>
data/doc/file.README.html DELETED
@@ -1,98 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
- <title>
7
- File: README
8
-
9
- &mdash; Documentation by YARD 0.7.4
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- relpath = '';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="_index.html" title="Index">Index</a> &raquo;
37
- <span class="title">File: README</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a id="class_list_link" href="#">Class List</a>
46
-
47
- <a id="method_list_link" href="#">Method List</a>
48
-
49
- <a id="file_list_link" href="#">File List</a>
50
-
51
- </div>
52
- <div class="clear"></div>
53
- </div>
54
-
55
- <iframe id="search_frame"></iframe>
56
-
57
- <div id="content"><div id='filecontents'>
58
- <h1>AuthorityLabs Partner API Gem</h1>
59
-
60
- <p>A wrapper around the Partner API calls. Allows post, priority post and get
61
- calls.</p>
62
- <ul><li>
63
- <p>Github: <a
64
- href="http://github.com/mtchavez/al_papi">github.com/mtchavez/al_papi</a></p>
65
- </li></ul>
66
-
67
- <h2>Install:</h2>
68
-
69
- <pre class="code"><span class='id identifier rubyid_gem'>gem</span> <span class='id identifier rubyid_install'>install</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>al_papi</span><span class='tstring_end'>'</span></span></pre>
70
-
71
- <h2>Usage:</h2>
72
-
73
- <pre class="code">require 'al_papi'
74
-
75
- req = AlPapi::Request.new(api_key: 'yR43BtBDjadfavMy6a6aK0')
76
-
77
- req.post { :keyword =&gt; 'Centaurs', :locale =&gt; 'en-us', :engine =&gt; 'google' }
78
-
79
- req.get { :keyword =&gt; 'Centaurs', :locale =&gt; 'en-us', :engine =&gt; 'google' }
80
-
81
- req.priority_post { :keyword =&gt; 'Centaurs', :locale =&gt; 'en-us', :engine =&gt; 'google' }</pre>
82
-
83
- <h2>License</h2>
84
-
85
- <p>Written by Chavez</p>
86
-
87
- <p>Released under the MIT License: <a
88
- href="http://www.opensource.org/licenses/mit-license.php">www.opensource.org/licenses/mit-license.php</a></p>
89
- </div></div>
90
-
91
- <div id="footer">
92
- Generated on Wed Dec 28 13:51:20 2011 by
93
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
94
- 0.7.4 (ruby-1.9.3).
95
- </div>
96
-
97
- </body>
98
- </html>
data/doc/file_list.html DELETED
@@ -1,49 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html>
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
-
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
-
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
-
11
-
12
-
13
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
-
17
-
18
- <base id="base_target" target="_parent" />
19
- </head>
20
- <body>
21
- <script type="text/javascript" charset="utf-8">
22
- if (window.top.frames.main) {
23
- document.getElementById('base_target').target = 'main';
24
- document.body.className = 'frames';
25
- }
26
- </script>
27
- <div id="content">
28
- <h1 id="full_list_header">File List</h1>
29
- <div id="nav">
30
-
31
- <a target="_self" href="class_list.html">Classes</a>
32
-
33
- <a target="_self" href="method_list.html">Methods</a>
34
-
35
- <a target="_self" href="file_list.html">Files</a>
36
-
37
- </div>
38
- <div id="search">Search: <input type="text" /></div>
39
-
40
- <ul id="full_list" class="files">
41
-
42
-
43
- <li class="r1"><a href="index.html" title="README">README</a></li>
44
-
45
-
46
- </ul>
47
- </div>
48
- </body>
49
- </html>
data/doc/frames.html DELETED
@@ -1,13 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7
- <title>Documentation by YARD 0.7.4</title>
8
- </head>
9
- <frameset cols="20%,*">
10
- <frame name="list" src="class_list.html" />
11
- <frame name="main" src="index.html" />
12
- </frameset>
13
- </html>
data/doc/index.html DELETED
@@ -1,98 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
- <title>
7
- File: README
8
-
9
- &mdash; Documentation by YARD 0.7.4
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- relpath = '';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="_index.html" title="Index">Index</a> &raquo;
37
- <span class="title">File: README</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a id="class_list_link" href="#">Class List</a>
46
-
47
- <a id="method_list_link" href="#">Method List</a>
48
-
49
- <a id="file_list_link" href="#">File List</a>
50
-
51
- </div>
52
- <div class="clear"></div>
53
- </div>
54
-
55
- <iframe id="search_frame"></iframe>
56
-
57
- <div id="content"><div id='filecontents'>
58
- <h1>AuthorityLabs Partner API Gem</h1>
59
-
60
- <p>A wrapper around the Partner API calls. Allows post, priority post and get
61
- calls.</p>
62
- <ul><li>
63
- <p>Github: <a
64
- href="http://github.com/mtchavez/al_papi">github.com/mtchavez/al_papi</a></p>
65
- </li></ul>
66
-
67
- <h2>Install:</h2>
68
-
69
- <pre class="code"><span class='id identifier rubyid_gem'>gem</span> <span class='id identifier rubyid_install'>install</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>al_papi</span><span class='tstring_end'>'</span></span></pre>
70
-
71
- <h2>Usage:</h2>
72
-
73
- <pre class="code">require 'al_papi'
74
-
75
- req = AlPapi::Request.new(api_key: 'yR43BtBDjadfavMy6a6aK0')
76
-
77
- req.post { :keyword =&gt; 'Centaurs', :locale =&gt; 'en-us', :engine =&gt; 'google' }
78
-
79
- req.get { :keyword =&gt; 'Centaurs', :locale =&gt; 'en-us', :engine =&gt; 'google' }
80
-
81
- req.priority_post { :keyword =&gt; 'Centaurs', :locale =&gt; 'en-us', :engine =&gt; 'google' }</pre>
82
-
83
- <h2>License</h2>
84
-
85
- <p>Written by Chavez</p>
86
-
87
- <p>Released under the MIT License: <a
88
- href="http://www.opensource.org/licenses/mit-license.php">www.opensource.org/licenses/mit-license.php</a></p>
89
- </div></div>
90
-
91
- <div id="footer">
92
- Generated on Wed Dec 28 13:51:20 2011 by
93
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
94
- 0.7.4 (ruby-1.9.3).
95
- </div>
96
-
97
- </body>
98
- </html>
data/doc/method_list.html DELETED
@@ -1,318 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html>
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
-
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
-
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
-
11
-
12
-
13
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
-
17
-
18
- <base id="base_target" target="_parent" />
19
- </head>
20
- <body>
21
- <script type="text/javascript" charset="utf-8">
22
- if (window.top.frames.main) {
23
- document.getElementById('base_target').target = 'main';
24
- document.body.className = 'frames';
25
- }
26
- </script>
27
- <div id="content">
28
- <h1 id="full_list_header">Method List</h1>
29
- <div id="nav">
30
-
31
- <a target="_self" href="class_list.html">Classes</a>
32
-
33
- <a target="_self" href="method_list.html">Methods</a>
34
-
35
- <a target="_self" href="file_list.html">Files</a>
36
-
37
- </div>
38
- <div id="search">Search: <input type="text" /></div>
39
-
40
- <ul id="full_list" class="methods">
41
-
42
-
43
- <li class="r1 ">
44
- <span class='object_link'><a href="AlPapi/Engines.html#all-class_method" title="AlPapi::Engines.all (method)">all</a></span>
45
-
46
- <small>AlPapi::Engines</small>
47
-
48
- </li>
49
-
50
-
51
- <li class="r2 ">
52
- <span class='object_link'><a href="AlPapi/Config.html#api_key-instance_method" title="AlPapi::Config#api_key (method)">#api_key</a></span>
53
-
54
- <small>AlPapi::Config</small>
55
-
56
- </li>
57
-
58
-
59
- <li class="r1 ">
60
- <span class='object_link'><a href="AlPapi/Response.html#body-instance_method" title="AlPapi::Response#body (method)">#body</a></span>
61
-
62
- <small>AlPapi::Response</small>
63
-
64
- </li>
65
-
66
-
67
- <li class="r2 ">
68
- <span class='object_link'><a href="AlPapi/Http.html#build_params-instance_method" title="AlPapi::Http#build_params (method)">#build_params</a></span>
69
-
70
- <small>AlPapi::Http</small>
71
-
72
- </li>
73
-
74
-
75
- <li class="r1 ">
76
- <span class='object_link'><a href="AlPapi/Response.html#code-instance_method" title="AlPapi::Response#code (method)">#code</a></span>
77
-
78
- <small>AlPapi::Response</small>
79
-
80
- </li>
81
-
82
-
83
- <li class="r2 ">
84
- <span class='object_link'><a href="AlPapi/RequestError.html#code-instance_method" title="AlPapi::RequestError#code (method)">#code</a></span>
85
-
86
- <small>AlPapi::RequestError</small>
87
-
88
- </li>
89
-
90
-
91
- <li class="r1 ">
92
- <span class='object_link'><a href="AlPapi/Http.html#config-instance_method" title="AlPapi::Http#config (method)">#config</a></span>
93
-
94
- <small>AlPapi::Http</small>
95
-
96
- </li>
97
-
98
-
99
- <li class="r2 ">
100
- <span class='object_link'><a href="AlPapi/Request.html#config-instance_method" title="AlPapi::Request#config (method)">#config</a></span>
101
-
102
- <small>AlPapi::Request</small>
103
-
104
- </li>
105
-
106
-
107
- <li class="r1 ">
108
- <span class='object_link'><a href="AlPapi/Http.html#errors-instance_method" title="AlPapi::Http#errors (method)">#errors</a></span>
109
-
110
- <small>AlPapi::Http</small>
111
-
112
- </li>
113
-
114
-
115
- <li class="r2 ">
116
- <span class='object_link'><a href="AlPapi/Response.html#errors-instance_method" title="AlPapi::Response#errors (method)">#errors</a></span>
117
-
118
- <small>AlPapi::Response</small>
119
-
120
- </li>
121
-
122
-
123
- <li class="r1 ">
124
- <span class='object_link'><a href="AlPapi/Http.html#get-instance_method" title="AlPapi::Http#get (method)">#get</a></span>
125
-
126
- <small>AlPapi::Http</small>
127
-
128
- </li>
129
-
130
-
131
- <li class="r2 ">
132
- <span class='object_link'><a href="AlPapi/Request.html#get-instance_method" title="AlPapi::Request#get (method)">#get</a></span>
133
-
134
- <small>AlPapi::Request</small>
135
-
136
- </li>
137
-
138
-
139
- <li class="r1 ">
140
- <span class='object_link'><a href="AlPapi/Config.html#host-instance_method" title="AlPapi::Config#host (method)">#host</a></span>
141
-
142
- <small>AlPapi::Config</small>
143
-
144
- </li>
145
-
146
-
147
- <li class="r2 ">
148
- <span class='object_link'><a href="AlPapi/Request.html#http-instance_method" title="AlPapi::Request#http (method)">#http</a></span>
149
-
150
- <small>AlPapi::Request</small>
151
-
152
- </li>
153
-
154
-
155
- <li class="r1 ">
156
- <span class='object_link'><a href="AlPapi/RequestError.html#initialize-instance_method" title="AlPapi::RequestError#initialize (method)">#initialize</a></span>
157
-
158
- <small>AlPapi::RequestError</small>
159
-
160
- </li>
161
-
162
-
163
- <li class="r2 ">
164
- <span class='object_link'><a href="AlPapi/Config.html#initialize-instance_method" title="AlPapi::Config#initialize (method)">#initialize</a></span>
165
-
166
- <small>AlPapi::Config</small>
167
-
168
- </li>
169
-
170
-
171
- <li class="r1 ">
172
- <span class='object_link'><a href="AlPapi/Request.html#initialize-instance_method" title="AlPapi::Request#initialize (method)">#initialize</a></span>
173
-
174
- <small>AlPapi::Request</small>
175
-
176
- </li>
177
-
178
-
179
- <li class="r2 ">
180
- <span class='object_link'><a href="AlPapi/Response.html#initialize-instance_method" title="AlPapi::Response#initialize (method)">#initialize</a></span>
181
-
182
- <small>AlPapi::Response</small>
183
-
184
- </li>
185
-
186
-
187
- <li class="r1 ">
188
- <span class='object_link'><a href="AlPapi/Http.html#initialize-instance_method" title="AlPapi::Http#initialize (method)">#initialize</a></span>
189
-
190
- <small>AlPapi::Http</small>
191
-
192
- </li>
193
-
194
-
195
- <li class="r2 ">
196
- <span class='object_link'><a href="AlPapi/RequestError.html#message-instance_method" title="AlPapi::RequestError#message (method)">#message</a></span>
197
-
198
- <small>AlPapi::RequestError</small>
199
-
200
- </li>
201
-
202
-
203
- <li class="r1 ">
204
- <span class='object_link'><a href="AlPapi/Response.html#params-instance_method" title="AlPapi::Response#params (method)">#params</a></span>
205
-
206
- <small>AlPapi::Response</small>
207
-
208
- </li>
209
-
210
-
211
- <li class="r2 ">
212
- <span class='object_link'><a href="AlPapi/RequestError.html#params-instance_method" title="AlPapi::RequestError#params (method)">#params</a></span>
213
-
214
- <small>AlPapi::RequestError</small>
215
-
216
- </li>
217
-
218
-
219
- <li class="r1 ">
220
- <span class='object_link'><a href="AlPapi/Response.html#path-instance_method" title="AlPapi::Response#path (method)">#path</a></span>
221
-
222
- <small>AlPapi::Response</small>
223
-
224
- </li>
225
-
226
-
227
- <li class="r2 ">
228
- <span class='object_link'><a href="AlPapi/RequestError.html#path-instance_method" title="AlPapi::RequestError#path (method)">#path</a></span>
229
-
230
- <small>AlPapi::RequestError</small>
231
-
232
- </li>
233
-
234
-
235
- <li class="r1 ">
236
- <span class='object_link'><a href="AlPapi/Config.html#port-instance_method" title="AlPapi::Config#port (method)">#port</a></span>
237
-
238
- <small>AlPapi::Config</small>
239
-
240
- </li>
241
-
242
-
243
- <li class="r2 ">
244
- <span class='object_link'><a href="AlPapi/Request.html#post-instance_method" title="AlPapi::Request#post (method)">#post</a></span>
245
-
246
- <small>AlPapi::Request</small>
247
-
248
- </li>
249
-
250
-
251
- <li class="r1 ">
252
- <span class='object_link'><a href="AlPapi/Http.html#post-instance_method" title="AlPapi::Http#post (method)">#post</a></span>
253
-
254
- <small>AlPapi::Http</small>
255
-
256
- </li>
257
-
258
-
259
- <li class="r2 ">
260
- <span class='object_link'><a href="AlPapi/Request.html#priority_post-instance_method" title="AlPapi::Request#priority_post (method)">#priority_post</a></span>
261
-
262
- <small>AlPapi::Request</small>
263
-
264
- </li>
265
-
266
-
267
- <li class="r1 ">
268
- <span class='object_link'><a href="AlPapi/Http.html#request-instance_method" title="AlPapi::Http#request (method)">#request</a></span>
269
-
270
- <small>AlPapi::Http</small>
271
-
272
- </li>
273
-
274
-
275
- <li class="r2 ">
276
- <span class='object_link'><a href="AlPapi/Http.html#response-instance_method" title="AlPapi::Http#response (method)">#response</a></span>
277
-
278
- <small>AlPapi::Http</small>
279
-
280
- </li>
281
-
282
-
283
- <li class="r1 ">
284
- <span class='object_link'><a href="AlPapi/Response.html#success-instance_method" title="AlPapi::Response#success (method)">#success</a></span>
285
-
286
- <small>AlPapi::Response</small>
287
-
288
- </li>
289
-
290
-
291
- <li class="r2 ">
292
- <span class='object_link'><a href="AlPapi/Http.html#success-instance_method" title="AlPapi::Http#success (method)">#success</a></span>
293
-
294
- <small>AlPapi::Http</small>
295
-
296
- </li>
297
-
298
-
299
- <li class="r1 ">
300
- <span class='object_link'><a href="AlPapi/Response.html#success%3F-instance_method" title="AlPapi::Response#success? (method)">#success?</a></span>
301
-
302
- <small>AlPapi::Response</small>
303
-
304
- </li>
305
-
306
-
307
- <li class="r2 ">
308
- <span class='object_link'><a href="AlPapi/Locales.html#supported-class_method" title="AlPapi::Locales.supported (method)">supported</a></span>
309
-
310
- <small>AlPapi::Locales</small>
311
-
312
- </li>
313
-
314
-
315
- </ul>
316
- </div>
317
- </body>
318
- </html>
@@ -1,103 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Top Level Namespace
8
-
9
- &mdash; Documentation by YARD 0.7.4
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- relpath = '';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="_index.html">Index</a> &raquo;
37
-
38
-
39
- <span class="title">Top Level Namespace</span>
40
-
41
-
42
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
- </div>
44
-
45
- <div id="search">
46
-
47
- <a id="class_list_link" href="#">Class List</a>
48
-
49
- <a id="method_list_link" href="#">Method List</a>
50
-
51
- <a id="file_list_link" href="#">File List</a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1>Top Level Namespace
60
-
61
-
62
-
63
- </h1>
64
-
65
- <dl class="box">
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
- </dl>
75
- <div class="clear"></div>
76
-
77
- <h2>Defined Under Namespace</h2>
78
- <p class="children">
79
-
80
-
81
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="AlPapi.html" title="AlPapi (module)">AlPapi</a></span>
82
-
83
-
84
-
85
-
86
- </p>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
- </div>
95
-
96
- <div id="footer">
97
- Generated on Wed Dec 28 13:51:20 2011 by
98
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
99
- 0.7.4 (ruby-1.9.3).
100
- </div>
101
-
102
- </body>
103
- </html>