gnip_api 1.2.2 → 1.2.3
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +24 -3
- data/README.md +70 -33
- data/Rakefile +7 -0
- data/doc/rdoc/classes/Gnip/Activity.html +354 -0
- data/doc/rdoc/classes/Gnip/Actor.html +300 -0
- data/doc/rdoc/classes/Gnip/GnipData.html +154 -0
- data/doc/rdoc/classes/Gnip/Message.html +236 -0
- data/doc/rdoc/classes/Gnip/SystemMessage.html +190 -0
- data/doc/rdoc/classes/Gnip/TwitterComplianceMessage.html +194 -0
- data/doc/rdoc/classes/Gnip/UndefinedMessage.html +83 -0
- data/doc/rdoc/classes/Gnip/Url.html +194 -0
- data/doc/rdoc/classes/Gnip.html +95 -0
- data/doc/rdoc/classes/GnipApi/Adapter.html +287 -0
- data/doc/rdoc/classes/GnipApi/Configuration.html +194 -0
- data/doc/rdoc/classes/GnipApi/Endpoints.html +191 -0
- data/doc/rdoc/classes/GnipApi/Errors/Adapter/GnipSoftwareError.html +83 -0
- data/doc/rdoc/classes/GnipApi/Errors/Adapter/RateLimitError.html +83 -0
- data/doc/rdoc/classes/GnipApi/Errors/Adapter/RequestError.html +56 -0
- data/doc/rdoc/classes/GnipApi/Errors/Adapter.html +66 -0
- data/doc/rdoc/classes/GnipApi/Errors/Configuration/InvalidOutputFormat.html +83 -0
- data/doc/rdoc/classes/GnipApi/Errors/Configuration.html +58 -0
- data/doc/rdoc/classes/GnipApi/Errors/JsonParser/ParseError.html +56 -0
- data/doc/rdoc/classes/GnipApi/Errors/JsonParser.html +64 -0
- data/doc/rdoc/classes/GnipApi/Errors/MissingAdapter.html +83 -0
- data/doc/rdoc/classes/GnipApi/Errors/MissingCredentials.html +83 -0
- data/doc/rdoc/classes/GnipApi/Errors/PowerTrack/MissingRules.html +83 -0
- data/doc/rdoc/classes/GnipApi/Errors/PowerTrack/StreamDown.html +56 -0
- data/doc/rdoc/classes/GnipApi/Errors/PowerTrack.html +65 -0
- data/doc/rdoc/classes/GnipApi/Errors/Search/MissingParameters.html +83 -0
- data/doc/rdoc/classes/GnipApi/Errors/Search.html +64 -0
- data/doc/rdoc/classes/GnipApi/Errors.html +79 -0
- data/doc/rdoc/classes/GnipApi/JsonParser.html +101 -0
- data/doc/rdoc/classes/GnipApi/PowerTrack/Buffer.html +237 -0
- data/doc/rdoc/classes/GnipApi/PowerTrack/Rule.html +196 -0
- data/doc/rdoc/classes/GnipApi/PowerTrack/Rules.html +188 -0
- data/doc/rdoc/classes/GnipApi/PowerTrack/Stream.html +359 -0
- data/doc/rdoc/classes/GnipApi/PowerTrack.html +73 -0
- data/doc/rdoc/classes/GnipApi/Request.html +216 -0
- data/doc/rdoc/classes/GnipApi/Response.html +232 -0
- data/doc/rdoc/classes/GnipApi/Search.html +101 -0
- data/doc/rdoc/classes/GnipApi.html +252 -0
- data/doc/rdoc/created.rid +24 -0
- data/doc/rdoc/css/style.css +343 -0
- data/doc/rdoc/files/LICENSE_txt.html +73 -0
- data/doc/rdoc/files/README_md.html +299 -0
- data/doc/rdoc/files/lib/gnip_api/adapter_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/configuration_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/endpoints_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/errors_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/gnip/activity_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/gnip/actor_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/gnip/gnip_data_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/gnip/message_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/gnip/system_message_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/gnip/twitter_compliance_message_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/gnip/url_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/json_parser_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/power_track/buffer_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/power_track/rule_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/power_track/rules_rb.html +55 -0
- data/doc/rdoc/files/lib/gnip_api/power_track/stream_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/request_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/response_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api/search_rb.html +55 -0
- data/doc/rdoc/files/lib/gnip_api/version_rb.html +51 -0
- data/doc/rdoc/files/lib/gnip_api_rb.html +84 -0
- data/doc/rdoc/fr_class_index.html +92 -0
- data/doc/rdoc/fr_file_index.html +41 -0
- data/doc/rdoc/fr_method_index.html +4791 -0
- data/doc/rdoc/index.html +15 -0
- data/gnip_api.gemspec +3 -1
- data/lib/gnip_api/configuration.rb +18 -4
- data/lib/gnip_api/errors.rb +0 -1
- data/lib/gnip_api/power_track/buffer.rb +60 -14
- data/lib/gnip_api/power_track/stream.rb +52 -17
- data/lib/gnip_api/response.rb +3 -2
- data/lib/gnip_api/version.rb +1 -1
- data/spec/gnip_api/power_track/buffer_spec.rb +8 -0
- data/spec/gnip_api/response_spec.rb +16 -0
- data/spec/spec_helper.rb +1 -0
- metadata +97 -2
@@ -0,0 +1,101 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
2
|
+
<html lang='en'>
|
3
|
+
<head>
|
4
|
+
<title>GnipApi::Search</title>
|
5
|
+
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
|
6
|
+
<link href='../../css/style.css' media='screen' rel='stylesheet' type='text/css'>
|
7
|
+
<script type='text/javascript'>
|
8
|
+
function popupCode(url) {
|
9
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
10
|
+
}
|
11
|
+
|
12
|
+
function toggleCode(id) {
|
13
|
+
var code = document.getElementById(id)
|
14
|
+
|
15
|
+
code.style.display = code.style.display != 'block' ? 'block' : 'none'
|
16
|
+
return true
|
17
|
+
}
|
18
|
+
|
19
|
+
// Make codeblocks hidden by default
|
20
|
+
document.writeln('<' + 'style type="text/css">.method .source pre { display: none }<\/style>')
|
21
|
+
</script>
|
22
|
+
</head>
|
23
|
+
<body class='page'>
|
24
|
+
<div class='class' id='wrapper'>
|
25
|
+
<div class='header'>
|
26
|
+
<h1 class='name'><span class='type'>class</span>
|
27
|
+
GnipApi::Search
|
28
|
+
</h1>
|
29
|
+
<ol class='paths'>
|
30
|
+
<li>
|
31
|
+
<a href="../../files/lib/gnip_api/search_rb.html">lib/gnip_api/search.rb</a>
|
32
|
+
</li>
|
33
|
+
</ol>
|
34
|
+
<div class='parent'>
|
35
|
+
Superclass:
|
36
|
+
<strong>Object</strong>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<div id='content'>
|
40
|
+
<div id='text'>
|
41
|
+
<div id='description'></div>
|
42
|
+
<div id='method-list'>
|
43
|
+
<h2>Methods</h2>
|
44
|
+
<h3>Public Instance</h3>
|
45
|
+
<ol>
|
46
|
+
<li><a href="#method-i-activities">activities</a></li>
|
47
|
+
<li><a href="#method-i-counts">counts</a></li>
|
48
|
+
</ol>
|
49
|
+
</div>
|
50
|
+
<div id='context'>
|
51
|
+
</div>
|
52
|
+
<div id='section'>
|
53
|
+
<div id='methods'>
|
54
|
+
<h2>Public Instance methods</h2>
|
55
|
+
<div class='method public-instance' id='method-method-i-activities'>
|
56
|
+
<a name='method-i-activities'></a>
|
57
|
+
<div class='synopsis'>
|
58
|
+
<span class='name'>activities</span>
|
59
|
+
<span class='arguments'>(options={})</span>
|
60
|
+
|
61
|
+
</div>
|
62
|
+
<div class='description'>
|
63
|
+
|
64
|
+
</div>
|
65
|
+
<div class='source'>
|
66
|
+
<a class='source-toggle' href='#' onclick='toggleCode('method-i-activities-source'); return false'>
|
67
|
+
[show source]
|
68
|
+
</a>
|
69
|
+
<pre id='method-i-activities-source'><span class="ruby-comment"># File lib/gnip_api/search.rb, line 7</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">activities</span> <span class="ruby-identifier">options</span>={}
 <span class="ruby-identifier">required_options?</span>(<span class="ruby-identifier">options</span>)
 <span class="ruby-identifier">payload</span> = <span class="ruby-identifier">construct_activities_payload</span>(<span class="ruby-identifier">options</span>)
 <span class="ruby-identifier">request</span> = <span class="ruby-constant">GnipApi</span><span class="ruby-operator">::</span><span class="ruby-constant">Request</span>.<span class="ruby-identifier">new_post</span>(<span class="ruby-identifier">activities_endpoint</span>, <span class="ruby-identifier">payload</span>)
 <span class="ruby-identifier">data</span> = <span class="ruby-identifier">fetch_data</span>(<span class="ruby-identifier">request</span>)
 <span class="ruby-keyword">return</span> <span class="ruby-identifier">parse_activities_response</span>(<span class="ruby-identifier">data</span>)
<span class="ruby-keyword">end</span></pre>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
<div class='method public-instance' id='method-method-i-counts'>
|
73
|
+
<a name='method-i-counts'></a>
|
74
|
+
<div class='synopsis'>
|
75
|
+
<span class='name'>counts</span>
|
76
|
+
<span class='arguments'>(options={})</span>
|
77
|
+
|
78
|
+
</div>
|
79
|
+
<div class='description'>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
<div class='source'>
|
83
|
+
<a class='source-toggle' href='#' onclick='toggleCode('method-i-counts-source'); return false'>
|
84
|
+
[show source]
|
85
|
+
</a>
|
86
|
+
<pre id='method-i-counts-source'><span class="ruby-comment"># File lib/gnip_api/search.rb, line 15</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">counts</span> <span class="ruby-identifier">options</span>={}
 <span class="ruby-identifier">required_options?</span>(<span class="ruby-identifier">options</span>)
 <span class="ruby-identifier">payload</span> = <span class="ruby-identifier">construct_counts_payload</span>(<span class="ruby-identifier">options</span>)
 <span class="ruby-identifier">request</span> = <span class="ruby-constant">GnipApi</span><span class="ruby-operator">::</span><span class="ruby-constant">Request</span>.<span class="ruby-identifier">new_post</span>(<span class="ruby-identifier">count_endpoint</span>, <span class="ruby-identifier">payload</span>)
 <span class="ruby-identifier">data</span> = <span class="ruby-identifier">fetch_data</span>(<span class="ruby-identifier">request</span>)
 <span class="ruby-keyword">return</span> <span class="ruby-identifier">parse_counts_response</span>(<span class="ruby-identifier">data</span>)
<span class="ruby-keyword">end</span></pre>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
<div id='footer-push'></div>
|
96
|
+
</div>
|
97
|
+
<div id='footer'>
|
98
|
+
<a href="https://github.com/rdoc/hanna-nouveau"><strong>Hanna Nouveau</strong> RDoc template</a>
|
99
|
+
</div>
|
100
|
+
</body>
|
101
|
+
</html>
|
@@ -0,0 +1,252 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
2
|
+
<html lang='en'>
|
3
|
+
<head>
|
4
|
+
<title>GnipApi</title>
|
5
|
+
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
|
6
|
+
<link href='../css/style.css' media='screen' rel='stylesheet' type='text/css'>
|
7
|
+
<script type='text/javascript'>
|
8
|
+
function popupCode(url) {
|
9
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
10
|
+
}
|
11
|
+
|
12
|
+
function toggleCode(id) {
|
13
|
+
var code = document.getElementById(id)
|
14
|
+
|
15
|
+
code.style.display = code.style.display != 'block' ? 'block' : 'none'
|
16
|
+
return true
|
17
|
+
}
|
18
|
+
|
19
|
+
// Make codeblocks hidden by default
|
20
|
+
document.writeln('<' + 'style type="text/css">.method .source pre { display: none }<\/style>')
|
21
|
+
</script>
|
22
|
+
</head>
|
23
|
+
<body class='page'>
|
24
|
+
<div class='class' id='wrapper'>
|
25
|
+
<div class='header'>
|
26
|
+
<h1 class='name'><span class='type'>module</span>
|
27
|
+
GnipApi
|
28
|
+
</h1>
|
29
|
+
<ol class='paths'>
|
30
|
+
<li>
|
31
|
+
<a href="../files/lib/gnip_api_rb.html">lib/gnip_api.rb</a>
|
32
|
+
</li>
|
33
|
+
<li class='other'>
|
34
|
+
<a href="../files/lib/gnip_api/adapter_rb.html">lib/gnip_api/adapter.rb</a>
|
35
|
+
</li>
|
36
|
+
<li class='other'>
|
37
|
+
<a href="../files/lib/gnip_api/configuration_rb.html">lib/gnip_api/configuration.rb</a>
|
38
|
+
</li>
|
39
|
+
<li class='other'>
|
40
|
+
<a href="../files/lib/gnip_api/endpoints_rb.html">lib/gnip_api/endpoints.rb</a>
|
41
|
+
</li>
|
42
|
+
<li class='other'>
|
43
|
+
<a href="../files/lib/gnip_api/errors_rb.html">lib/gnip_api/errors.rb</a>
|
44
|
+
</li>
|
45
|
+
<li class='other'>
|
46
|
+
<a href="../files/lib/gnip_api/gnip/gnip_data_rb.html">lib/gnip_api/gnip/gnip_data.rb</a>
|
47
|
+
</li>
|
48
|
+
<li class='other'>
|
49
|
+
<a href="../files/lib/gnip_api/gnip/message_rb.html">lib/gnip_api/gnip/message.rb</a>
|
50
|
+
</li>
|
51
|
+
<li class='other'>
|
52
|
+
<a href="../files/lib/gnip_api/json_parser_rb.html">lib/gnip_api/json_parser.rb</a>
|
53
|
+
</li>
|
54
|
+
<li class='other'>
|
55
|
+
<a href="../files/lib/gnip_api/power_track/buffer_rb.html">lib/gnip_api/power_track/buffer.rb</a>
|
56
|
+
</li>
|
57
|
+
<li class='other'>
|
58
|
+
<a href="../files/lib/gnip_api/power_track/rule_rb.html">lib/gnip_api/power_track/rule.rb</a>
|
59
|
+
</li>
|
60
|
+
<li class='other'>
|
61
|
+
<a href="../files/lib/gnip_api/power_track/rules_rb.html">lib/gnip_api/power_track/rules.rb</a>
|
62
|
+
</li>
|
63
|
+
<li class='other'>
|
64
|
+
<a href="../files/lib/gnip_api/power_track/stream_rb.html">lib/gnip_api/power_track/stream.rb</a>
|
65
|
+
</li>
|
66
|
+
<li class='other'>
|
67
|
+
<a href="../files/lib/gnip_api/request_rb.html">lib/gnip_api/request.rb</a>
|
68
|
+
</li>
|
69
|
+
<li class='other'>
|
70
|
+
<a href="../files/lib/gnip_api/response_rb.html">lib/gnip_api/response.rb</a>
|
71
|
+
</li>
|
72
|
+
<li class='other'>
|
73
|
+
<a href="../files/lib/gnip_api/search_rb.html">lib/gnip_api/search.rb</a>
|
74
|
+
</li>
|
75
|
+
<li class='other'>
|
76
|
+
<a href="../files/lib/gnip_api/version_rb.html">lib/gnip_api/version.rb</a>
|
77
|
+
</li>
|
78
|
+
<li>
|
79
|
+
<a class='show' href='#' onclick='this.parentNode.parentNode.className += " expanded"; this.parentNode.removeChild(this); return false'>show all</a>
|
80
|
+
</li>
|
81
|
+
</ol>
|
82
|
+
</div>
|
83
|
+
<div id='content'>
|
84
|
+
<div id='text'>
|
85
|
+
<div id='description'>
|
86
|
+
<p><a href="Gnip.html">Gnip</a> <a
|
87
|
+
href="GnipApi/PowerTrack.html">PowerTrack</a> Rules API</p>
|
88
|
+
|
89
|
+
<p>Create, delete and list rules of a powetrack stream.</p>
|
90
|
+
|
91
|
+
<p><a href="Gnip.html">Gnip</a> <a href="GnipApi/Search.html">Search</a> Full
|
92
|
+
Archive API</p>
|
93
|
+
|
94
|
+
<p>Retrive counts with a provided rule</p>
|
95
|
+
</div>
|
96
|
+
<div id='method-list'>
|
97
|
+
<h2>Methods</h2>
|
98
|
+
<h3>Public Class</h3>
|
99
|
+
<ol>
|
100
|
+
<li><a href="#method-c-adapter_class-3F">adapter_class?</a></li>
|
101
|
+
<li><a href="#method-c-config">config</a></li>
|
102
|
+
<li><a href="#attribute-c-configuration">configuration</a></li>
|
103
|
+
<li><a href="#method-c-configure">configure</a></li>
|
104
|
+
<li><a href="#method-c-credentials-3F">credentials?</a></li>
|
105
|
+
<li><a href="#method-c-logger">logger</a></li>
|
106
|
+
</ol>
|
107
|
+
</div>
|
108
|
+
<div id='context'>
|
109
|
+
</div>
|
110
|
+
<div id='class-list'>
|
111
|
+
<h2>Classes and Modules</h2>
|
112
|
+
<ol>
|
113
|
+
<li><a href="GnipApi/Errors.html">GnipApi::Errors</a></li>
|
114
|
+
<li><a href="GnipApi/PowerTrack.html">GnipApi::PowerTrack</a></li>
|
115
|
+
<li><a href="GnipApi/Adapter.html">GnipApi::Adapter</a></li>
|
116
|
+
<li><a href="GnipApi/Configuration.html">GnipApi::Configuration</a></li>
|
117
|
+
<li><a href="GnipApi/Endpoints.html">GnipApi::Endpoints</a></li>
|
118
|
+
<li><a href="GnipApi/JsonParser.html">GnipApi::JsonParser</a></li>
|
119
|
+
<li><a href="GnipApi/Request.html">GnipApi::Request</a></li>
|
120
|
+
<li><a href="GnipApi/Response.html">GnipApi::Response</a></li>
|
121
|
+
<li><a href="GnipApi/Search.html">GnipApi::Search</a></li>
|
122
|
+
</ol>
|
123
|
+
</div>
|
124
|
+
<div id='section'>
|
125
|
+
<div id='constants-list'>
|
126
|
+
<h2>Constants</h2>
|
127
|
+
<div class='name-list'>
|
128
|
+
<table summary='Constants'>
|
129
|
+
<tr class='top-aligned-row context-row'>
|
130
|
+
<td class='context-item-name'>VERSION</td>
|
131
|
+
<td>=</td>
|
132
|
+
<td class='context-item-value'>"1.2.2"</td>
|
133
|
+
<td> </td>
|
134
|
+
<td class='context-item-desc'></td>
|
135
|
+
</tr>
|
136
|
+
</table>
|
137
|
+
</div>
|
138
|
+
</div>
|
139
|
+
<div id='attribute-list'>
|
140
|
+
<h2 class='section-bar'>Attributes</h2>
|
141
|
+
<div class='name-list'>
|
142
|
+
<table>
|
143
|
+
<tr class='top-aligned-row context-row'>
|
144
|
+
<td class='context-item-name'>
|
145
|
+
<a name='attribute-c-configuration'>configuration</a>
|
146
|
+
</td>
|
147
|
+
<td class='context-item-value'>[R]</td>
|
148
|
+
<td class='context-item-desc'></td>
|
149
|
+
</tr>
|
150
|
+
</table>
|
151
|
+
</div>
|
152
|
+
</div>
|
153
|
+
<div id='methods'>
|
154
|
+
<h2>Public Class methods</h2>
|
155
|
+
<div class='method public-class' id='method-method-c-adapter_class-3F'>
|
156
|
+
<a name='method-c-adapter_class-3F'></a>
|
157
|
+
<div class='synopsis'>
|
158
|
+
<span class='name'>adapter_class?</span>
|
159
|
+
<span class='arguments'>()</span>
|
160
|
+
|
161
|
+
</div>
|
162
|
+
<div class='description'>
|
163
|
+
|
164
|
+
</div>
|
165
|
+
<div class='source'>
|
166
|
+
<a class='source-toggle' href='#' onclick='toggleCode('method-c-adapter_class-3F-source'); return false'>
|
167
|
+
[show source]
|
168
|
+
</a>
|
169
|
+
<pre id='method-c-adapter_class-3F-source'><span class="ruby-comment"># File lib/gnip_api.rb, line 55</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">adapter_class?</span>
 <span class="ruby-ivar">@configuration</span>.<span class="ruby-identifier">adapter_class</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
|
170
|
+
</div>
|
171
|
+
</div>
|
172
|
+
<div class='method public-class' id='method-method-c-config'>
|
173
|
+
<a name='method-c-config'></a>
|
174
|
+
<div class='synopsis'>
|
175
|
+
<span class='name'>config</span>
|
176
|
+
<span class='arguments'>()</span>
|
177
|
+
|
178
|
+
</div>
|
179
|
+
<div class='description'>
|
180
|
+
|
181
|
+
</div>
|
182
|
+
<div class='source'>
|
183
|
+
<a class='source-toggle' href='#' onclick='toggleCode('method-c-config-source'); return false'>
|
184
|
+
[show source]
|
185
|
+
</a>
|
186
|
+
<pre id='method-c-config-source'><span class="ruby-comment"># File lib/gnip_api.rb, line 47</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">config</span>
 <span class="ruby-keyword">self</span>.<span class="ruby-identifier">configuration</span>
<span class="ruby-keyword">end</span></pre>
|
187
|
+
</div>
|
188
|
+
</div>
|
189
|
+
<div class='method public-class' id='method-method-c-configure'>
|
190
|
+
<a name='method-c-configure'></a>
|
191
|
+
<div class='synopsis'>
|
192
|
+
<span class='name'>configure</span>
|
193
|
+
<span class='arguments'>()</span>
|
194
|
+
|
195
|
+
</div>
|
196
|
+
<div class='description'>
|
197
|
+
|
198
|
+
</div>
|
199
|
+
<div class='source'>
|
200
|
+
<a class='source-toggle' href='#' onclick='toggleCode('method-c-configure-source'); return false'>
|
201
|
+
[show source]
|
202
|
+
</a>
|
203
|
+
<pre id='method-c-configure-source'><span class="ruby-comment"># File lib/gnip_api.rb, line 38</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">configure</span>
 <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">configuration</span>)
 <span class="ruby-keyword">self</span>.<span class="ruby-identifier">configuration</span>
<span class="ruby-keyword">end</span></pre>
|
204
|
+
</div>
|
205
|
+
</div>
|
206
|
+
<div class='method public-class' id='method-method-c-credentials-3F'>
|
207
|
+
<a name='method-c-credentials-3F'></a>
|
208
|
+
<div class='synopsis'>
|
209
|
+
<span class='name'>credentials?</span>
|
210
|
+
<span class='arguments'>()</span>
|
211
|
+
|
212
|
+
</div>
|
213
|
+
<div class='description'>
|
214
|
+
|
215
|
+
</div>
|
216
|
+
<div class='source'>
|
217
|
+
<a class='source-toggle' href='#' onclick='toggleCode('method-c-credentials-3F-source'); return false'>
|
218
|
+
[show source]
|
219
|
+
</a>
|
220
|
+
<pre id='method-c-credentials-3F-source'><span class="ruby-comment"># File lib/gnip_api.rb, line 51</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">credentials?</span>
 <span class="ruby-ivar">@configuration</span>.<span class="ruby-identifier">user</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@configuration</span>.<span class="ruby-identifier">password</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@configuration</span>.<span class="ruby-identifier">account</span>
<span class="ruby-keyword">end</span></pre>
|
221
|
+
</div>
|
222
|
+
</div>
|
223
|
+
<div class='method public-class' id='method-method-c-logger'>
|
224
|
+
<a name='method-c-logger'></a>
|
225
|
+
<div class='synopsis'>
|
226
|
+
<span class='name'>logger</span>
|
227
|
+
<span class='arguments'>()</span>
|
228
|
+
|
229
|
+
</div>
|
230
|
+
<div class='description'>
|
231
|
+
|
232
|
+
</div>
|
233
|
+
<div class='source'>
|
234
|
+
<a class='source-toggle' href='#' onclick='toggleCode('method-c-logger-source'); return false'>
|
235
|
+
[show source]
|
236
|
+
</a>
|
237
|
+
<pre id='method-c-logger-source'><span class="ruby-comment"># File lib/gnip_api.rb, line 43</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">logger</span>
 <span class="ruby-keyword">self</span>.<span class="ruby-identifier">configuration</span>.<span class="ruby-identifier">logger</span>
<span class="ruby-keyword">end</span></pre>
|
238
|
+
</div>
|
239
|
+
</div>
|
240
|
+
</div>
|
241
|
+
</div>
|
242
|
+
|
243
|
+
</div>
|
244
|
+
</div>
|
245
|
+
|
246
|
+
<div id='footer-push'></div>
|
247
|
+
</div>
|
248
|
+
<div id='footer'>
|
249
|
+
<a href="https://github.com/rdoc/hanna-nouveau"><strong>Hanna Nouveau</strong> RDoc template</a>
|
250
|
+
</div>
|
251
|
+
</body>
|
252
|
+
</html>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
Thu, 07 Sep 2017 18:34:07 -0300
|
2
|
+
README.md Thu, 07 Sep 2017 18:27:35 -0300
|
3
|
+
LICENSE.txt Thu, 11 Jun 2015 15:42:19 -0300
|
4
|
+
lib/gnip_api.rb Fri, 11 Aug 2017 13:31:06 -0300
|
5
|
+
lib/gnip_api/version.rb Wed, 16 Aug 2017 14:46:09 -0300
|
6
|
+
lib/gnip_api/errors.rb Thu, 07 Sep 2017 18:30:14 -0300
|
7
|
+
lib/gnip_api/configuration.rb Thu, 07 Sep 2017 17:02:34 -0300
|
8
|
+
lib/gnip_api/endpoints.rb Thu, 10 Aug 2017 13:57:52 -0300
|
9
|
+
lib/gnip_api/adapter.rb Fri, 11 Aug 2017 14:16:14 -0300
|
10
|
+
lib/gnip_api/gnip/twitter_compliance_message.rb Thu, 09 Feb 2017 16:45:06 -0300
|
11
|
+
lib/gnip_api/gnip/url.rb Mon, 24 Oct 2016 16:03:04 -0300
|
12
|
+
lib/gnip_api/gnip/actor.rb Mon, 24 Oct 2016 16:03:33 -0300
|
13
|
+
lib/gnip_api/gnip/gnip_data.rb Wed, 09 Aug 2017 13:00:16 -0300
|
14
|
+
lib/gnip_api/gnip/message.rb Wed, 09 Aug 2017 14:05:58 -0300
|
15
|
+
lib/gnip_api/gnip/activity.rb Fri, 14 Jul 2017 15:08:05 -0300
|
16
|
+
lib/gnip_api/gnip/system_message.rb Wed, 09 Aug 2017 14:10:32 -0300
|
17
|
+
lib/gnip_api/power_track/rule.rb Wed, 09 Aug 2017 13:44:59 -0300
|
18
|
+
lib/gnip_api/power_track/buffer.rb Thu, 07 Sep 2017 18:34:04 -0300
|
19
|
+
lib/gnip_api/power_track/stream.rb Thu, 07 Sep 2017 17:08:07 -0300
|
20
|
+
lib/gnip_api/power_track/rules.rb Wed, 16 Aug 2017 14:45:51 -0300
|
21
|
+
lib/gnip_api/request.rb Thu, 10 Aug 2017 14:46:39 -0300
|
22
|
+
lib/gnip_api/response.rb Thu, 10 Aug 2017 14:22:12 -0300
|
23
|
+
lib/gnip_api/search.rb Fri, 11 Aug 2017 12:30:23 -0300
|
24
|
+
lib/gnip_api/json_parser.rb Mon, 26 Sep 2016 12:26:08 -0300
|