zero_push 1.0.0 → 1.1.0

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/Gemfile.lock CHANGED
@@ -62,7 +62,6 @@ GEM
62
62
  thor (0.17.0)
63
63
  tilt (1.3.6)
64
64
  vcr (2.4.0)
65
- yard (0.8.5.2)
66
65
 
67
66
  PLATFORMS
68
67
  ruby
@@ -75,5 +74,4 @@ DEPENDENCIES
75
74
  railties (~> 3.2.11)
76
75
  rake (~> 10.0.3)
77
76
  vcr (~> 2.4.0)
78
- yard (~> 0.8.4)
79
77
  zero_push!
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![ZeroPush](https://raw.github.com/SymmetricInfinity/zero_push/master/doc/zeropush-header.png)](https://zeropush.com)
1
+ [![ZeroPush](https://raw.github.com/SymmetricInfinity/zero_push/master/zeropush-header.png)](https://zeropush.com)
2
2
 
3
3
  Build Status: [![Build Status](https://travis-ci.org/SymmetricInfinity/zero_push.png?branch=master)](https://travis-ci.org/SymmetricInfinity/zero_push)
4
4
 
@@ -20,6 +20,14 @@ module ZeroPush
20
20
  client.post('/notify', params)
21
21
  end
22
22
 
23
+ # Registers a device token with the ZeroPush backend
24
+ #
25
+ # @params device_token
26
+ # @return response
27
+ def register(device_token)
28
+ client.post('/register', device_token: device_token)
29
+ end
30
+
23
31
  # the HTTP client configured for API requests
24
32
  #
25
33
  def client
@@ -1,3 +1,3 @@
1
1
  module ZeroPush
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -0,0 +1,57 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.zeropush.com/register
6
+ body:
7
+ encoding: US-ASCII
8
+ string: device_token=abc
9
+ headers:
10
+ Authorization:
11
+ - Token token="test_token"
12
+ User-Agent:
13
+ - Faraday v0.8.7
14
+ Content-Type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message:
20
+ headers:
21
+ server:
22
+ - nginx/1.2.6
23
+ date:
24
+ - Thu, 08 Aug 2013 23:50:40 GMT
25
+ content-type:
26
+ - application/json; charset=utf-8
27
+ transfer-encoding:
28
+ - chunked
29
+ connection:
30
+ - close
31
+ status:
32
+ - 200 OK
33
+ strict-transport-security:
34
+ - max-age=31536000
35
+ x-ua-compatible:
36
+ - IE=Edge
37
+ etag:
38
+ - ! '"4548a4f1a11a241120f97a1c3737817a"'
39
+ cache-control:
40
+ - max-age=0, private, must-revalidate
41
+ set-cookie:
42
+ - _zero-push-session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWM0YWVlZjMxMWRlODM5OGI5MTk5MDQyZWZmNTc0YTg5BjsAVA%3D%3D--7832266b6f7ce258d10744496757e9d73192399d;
43
+ path=/; secure; HttpOnly
44
+ x-request-id:
45
+ - 09b0b1f839a3648dd1de9617e80f7583
46
+ x-runtime:
47
+ - '0.018914'
48
+ x-rack-cache:
49
+ - invalidate, pass
50
+ x-powered-by:
51
+ - Phusion Passenger 4.0.2
52
+ body:
53
+ encoding: US-ASCII
54
+ string: ! '{"message":"ok"}'
55
+ http_version:
56
+ recorded_at: Thu, 08 Aug 2013 23:50:39 GMT
57
+ recorded_with: VCR 2.4.0
data/spec/spec_helper.rb CHANGED
@@ -11,8 +11,3 @@ VCR.configure do |c|
11
11
  match_requests_on: [:method, :uri, :headers]
12
12
  }
13
13
  end
14
-
15
- #TODO: remove this once Faraday 0.9.0 comes out
16
- require 'net/https'
17
- OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
18
- #Faraday.default_connection_options = {ssl: {verify: false}}
@@ -38,4 +38,19 @@ describe ZeroPush do
38
38
  response.status.must_equal 200
39
39
  end
40
40
  end
41
+
42
+ describe "/register" do
43
+ before do
44
+ VCR.insert_cassette "register"
45
+ end
46
+
47
+ after do
48
+ VCR.eject_cassette
49
+ end
50
+
51
+ it "should register the device" do
52
+ response = ZeroPush.register('abc')
53
+ response.status.must_equal 200
54
+ end
55
+ end
41
56
  end
data/zero_push.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["stefan.natchev@gmail.com", "adam.v.duke@gmail.com"]
11
11
  gem.summary = %q{A gem for interacting with the ZeroPush API. (http://zeropush.com)}
12
12
  gem.description = %q{ZeroPush is a simple service for sending iOS push notifications. (http://zeropush.com)}
13
- gem.homepage = "https://github.com/SymmetricInfinity/zero_push"
13
+ gem.homepage = "https://zeropush.com"
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -27,5 +27,4 @@ Gem::Specification.new do |gem|
27
27
  gem.add_development_dependency 'rake', '~> 10.0.3'
28
28
  gem.add_development_dependency 'railties', '~> 3.2.11'
29
29
  gem.add_development_dependency 'vcr', '~> 2.4.0'
30
- gem.add_development_dependency 'yard', '~> 0.8.4'
31
30
  end
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zero_push
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -140,22 +140,6 @@ dependencies:
140
140
  - - ~>
141
141
  - !ruby/object:Gem::Version
142
142
  version: 2.4.0
143
- - !ruby/object:Gem::Dependency
144
- name: yard
145
- requirement: !ruby/object:Gem::Requirement
146
- none: false
147
- requirements:
148
- - - ~>
149
- - !ruby/object:Gem::Version
150
- version: 0.8.4
151
- type: :development
152
- prerelease: false
153
- version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
- requirements:
156
- - - ~>
157
- - !ruby/object:Gem::Version
158
- version: 0.8.4
159
143
  description: ZeroPush is a simple service for sending iOS push notifications. (http://zeropush.com)
160
144
  email:
161
145
  - stefan.natchev@gmail.com
@@ -164,47 +148,27 @@ executables: []
164
148
  extensions: []
165
149
  extra_rdoc_files: []
166
150
  files:
167
- - .autotest
168
151
  - .gitignore
169
152
  - .travis.yml
170
- - .yardoc/checksums
171
- - .yardoc/object_types
172
- - .yardoc/objects/root.dat
173
- - .yardoc/proxy_types
174
153
  - Gemfile
175
154
  - Gemfile.lock
176
155
  - LICENSE.txt
177
156
  - README.md
178
157
  - Rakefile
179
- - doc/ZeroPush.html
180
- - doc/ZeroPush/InstallGenerator.html
181
- - doc/_index.html
182
- - doc/class_list.html
183
- - doc/css/common.css
184
- - doc/css/full_list.css
185
- - doc/css/style.css
186
- - doc/file.README.html
187
- - doc/file_list.html
188
- - doc/frames.html
189
- - doc/index.html
190
- - doc/js/app.js
191
- - doc/js/full_list.js
192
- - doc/js/jquery.js
193
- - doc/method_list.html
194
- - doc/top-level-namespace.html
195
- - doc/zeropush-header.png
196
158
  - lib/generators/zero_push/install_generator.rb
197
159
  - lib/generators/zero_push/templates/zero_push.rb
198
160
  - lib/zero_push.rb
199
161
  - lib/zero_push/client.rb
200
162
  - lib/zero_push/version.rb
201
163
  - spec/fixtures/notify.yml
164
+ - spec/fixtures/register.yml
202
165
  - spec/fixtures/verify_credentials.yml
203
166
  - spec/generator_spec.rb
204
167
  - spec/spec_helper.rb
205
168
  - spec/zero_push_spec.rb
206
169
  - zero_push.gemspec
207
- homepage: https://github.com/SymmetricInfinity/zero_push
170
+ - zeropush-header.png
171
+ homepage: https://zeropush.com
208
172
  licenses: []
209
173
  post_install_message:
210
174
  rdoc_options: []
@@ -230,6 +194,7 @@ specification_version: 3
230
194
  summary: A gem for interacting with the ZeroPush API. (http://zeropush.com)
231
195
  test_files:
232
196
  - spec/fixtures/notify.yml
197
+ - spec/fixtures/register.yml
233
198
  - spec/fixtures/verify_credentials.yml
234
199
  - spec/generator_spec.rb
235
200
  - spec/spec_helper.rb
data/.autotest DELETED
@@ -1,25 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require "autotest/restart"
4
-
5
- # Autotest.add_hook :initialize do |at|
6
- # at.testlib = "minitest/unit"
7
- #
8
- # at.extra_files << "../some/external/dependency.rb"
9
- #
10
- # at.libs << ":../some/external"
11
- #
12
- # at.add_exception "vendor"
13
- #
14
- # at.add_mapping(/dependency.rb/) do |f, _|
15
- # at.files_matching(/test_.*rb$/)
16
- # end
17
- #
18
- # %w(TestA TestB).each do |klass|
19
- # at.extra_class_map[klass] = "test/test_misc.rb"
20
- # end
21
- # end
22
-
23
- # Autotest.add_hook :run_command do |at|
24
- # system "rake build"
25
- # end
data/.yardoc/checksums DELETED
@@ -1,5 +0,0 @@
1
- lib/zero_push.rb 4e26ee56b254c4e6c4e4e94fc97f85847af1118d
2
- lib/zero_push/client.rb 320cb3888492b6ee1145baaa28e48fc5807dacfe
3
- lib/zero_push/version.rb 5e2505a1d0944efdf5713ab88a4c888dea936503
4
- lib/generators/zero_push/install_generator.rb 35d1c52c5657e75a1a0d109af66974d28dd922df
5
- lib/generators/zero_push/templates/zero_push.rb 8727f64fb299b7a89d0526acfacb3eaef546227e
data/.yardoc/object_types DELETED
Binary file
Binary file
data/.yardoc/proxy_types DELETED
Binary file
data/doc/ZeroPush.html DELETED
@@ -1,482 +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: ZeroPush
8
-
9
- &mdash; Documentation by YARD 0.8.5.2
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
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '';
20
- framesUrl = "frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="_index.html">Index (Z)</a> &raquo;
35
-
36
-
37
- <span class="title">ZeroPush</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 class="full_list_link" id="class_list_link"
46
- href="class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Module: ZeroPush
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
- <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/zero_push/client.rb<span class="defines">,<br />
83
- lib/zero_push/version.rb,<br /> lib/generators/zero_push/install_generator.rb</span>
84
- </dd>
85
-
86
- </dl>
87
- <div class="clear"></div>
88
-
89
- <h2>Defined Under Namespace</h2>
90
- <p class="children">
91
-
92
-
93
-
94
-
95
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="ZeroPush/InstallGenerator.html" title="ZeroPush::InstallGenerator (class)">InstallGenerator</a></span>
96
-
97
-
98
- </p>
99
-
100
- <h2>Constant Summary</h2>
101
-
102
- <dl class="constants">
103
-
104
- <dt id="URL-constant" class="">URL =
105
-
106
- </dt>
107
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://api.zeropush.com</span><span class='tstring_end'>&quot;</span></span></pre></dd>
108
-
109
- <dt id="VERSION-constant" class="">VERSION =
110
-
111
- </dt>
112
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.0.5</span><span class='tstring_end'>&quot;</span></span></pre></dd>
113
-
114
- </dl>
115
-
116
-
117
-
118
-
119
-
120
- <h2>Class Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
121
- <ul class="summary">
122
-
123
- <li class="public ">
124
- <span class="summary_signature">
125
-
126
- <a href="#auth_token-class_method" title="auth_token (class method)">+ (Object) <strong>auth_token</strong> </a>
127
-
128
-
129
-
130
- </span>
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
- <span class="summary_desc"><div class='inline'>
144
- <p>Returns the value of attribute auth_token.</p>
145
- </div></span>
146
-
147
- </li>
148
-
149
-
150
- </ul>
151
-
152
-
153
-
154
-
155
-
156
- <h2>
157
- Class Method Summary
158
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
159
- </h2>
160
-
161
- <ul class="summary">
162
-
163
- <li class="public ">
164
- <span class="summary_signature">
165
-
166
- <a href="#client-class_method" title="client (class method)">+ (Object) <strong>client</strong> </a>
167
-
168
-
169
-
170
- </span>
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
- <span class="summary_desc"><div class='inline'>
181
- <p>the HTTP client configured for API requests.</p>
182
- </div></span>
183
-
184
- </li>
185
-
186
-
187
- <li class="public ">
188
- <span class="summary_signature">
189
-
190
- <a href="#notify-class_method" title="notify (class method)">+ (Object) <strong>notify</strong>(params) </a>
191
-
192
-
193
-
194
- </span>
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
- <span class="summary_desc"><div class='inline'>
205
- <p>Sends a notification to the list of devices.</p>
206
- </div></span>
207
-
208
- </li>
209
-
210
-
211
- <li class="public ">
212
- <span class="summary_signature">
213
-
214
- <a href="#verify_credentials-class_method" title="verify_credentials (class method)">+ (Boolean) <strong>verify_credentials</strong> </a>
215
-
216
-
217
-
218
- </span>
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
- <span class="summary_desc"><div class='inline'>
229
- <p>verifies credentials.</p>
230
- </div></span>
231
-
232
- </li>
233
-
234
-
235
- </ul>
236
-
237
-
238
-
239
- <div id="class_attr_details" class="attr_details">
240
- <h2>Class Attribute Details</h2>
241
-
242
-
243
- <span id="auth_token=-class_method"></span>
244
- <div class="method_details first">
245
- <h3 class="signature first" id="auth_token-class_method">
246
-
247
- + (<tt>Object</tt>) <strong>auth_token</strong>
248
-
249
-
250
-
251
-
252
-
253
- </h3><div class="docstring">
254
- <div class="discussion">
255
-
256
- <p>Returns the value of attribute auth_token</p>
257
-
258
-
259
- </div>
260
- </div>
261
- <div class="tags">
262
-
263
-
264
- </div><table class="source_code">
265
- <tr>
266
- <td>
267
- <pre class="lines">
268
-
269
-
270
- 5
271
- 6
272
- 7</pre>
273
- </td>
274
- <td>
275
- <pre class="code"><span class="info file"># File 'lib/zero_push/client.rb', line 5</span>
276
-
277
- <span class='kw'>def</span> <span class='id identifier rubyid_auth_token'>auth_token</span>
278
- <span class='ivar'>@auth_token</span>
279
- <span class='kw'>end</span></pre>
280
- </td>
281
- </tr>
282
- </table>
283
- </div>
284
-
285
- </div>
286
-
287
-
288
- <div id="class_method_details" class="method_details_list">
289
- <h2>Class Method Details</h2>
290
-
291
-
292
- <div class="method_details first">
293
- <h3 class="signature first" id="client-class_method">
294
-
295
- + (<tt>Object</tt>) <strong>client</strong>
296
-
297
-
298
-
299
-
300
-
301
- </h3><div class="docstring">
302
- <div class="discussion">
303
-
304
- <p>the HTTP client configured for API requests</p>
305
-
306
-
307
- </div>
308
- </div>
309
- <div class="tags">
310
-
311
-
312
- </div><table class="source_code">
313
- <tr>
314
- <td>
315
- <pre class="lines">
316
-
317
-
318
- 25
319
- 26
320
- 27
321
- 28
322
- 29
323
- 30
324
- 31</pre>
325
- </td>
326
- <td>
327
- <pre class="code"><span class="info file"># File 'lib/zero_push/client.rb', line 25</span>
328
-
329
- <span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
330
- <span class='const'>Faraday</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>url:</span> <span class='const'>URL</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span>
331
- <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_token_auth'>token_auth</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_auth_token'>auth_token</span>
332
- <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_request'>request</span> <span class='symbol'>:url_encoded</span> <span class='comment'># form-encode POST params
333
- </span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_adapter'>adapter</span> <span class='const'>Faraday</span><span class='period'>.</span><span class='id identifier rubyid_default_adapter'>default_adapter</span> <span class='comment'># Net::HTTP
334
- </span> <span class='kw'>end</span>
335
- <span class='kw'>end</span></pre>
336
- </td>
337
- </tr>
338
- </table>
339
- </div>
340
-
341
- <div class="method_details ">
342
- <h3 class="signature " id="notify-class_method">
343
-
344
- + (<tt>Object</tt>) <strong>notify</strong>(params)
345
-
346
-
347
-
348
-
349
-
350
- </h3><div class="docstring">
351
- <div class="discussion">
352
-
353
- <p>Sends a notification to the list of devices</p>
354
-
355
-
356
- </div>
357
- </div>
358
- <div class="tags">
359
- <p class="tag_title">Parameters:</p>
360
- <ul class="param">
361
-
362
- <li>
363
-
364
- <span class='name'>params</span>
365
-
366
-
367
- <span class='type'>(<tt>Hash</tt>)</span>
368
-
369
-
370
-
371
- </li>
372
-
373
- </ul>
374
-
375
- <p class="tag_title">Returns:</p>
376
- <ul class="return">
377
-
378
- <li>
379
-
380
-
381
- <span class='type'></span>
382
-
383
-
384
-
385
-
386
- <div class='inline'>
387
- <p>response</p>
388
- </div>
389
-
390
- </li>
391
-
392
- </ul>
393
-
394
- </div><table class="source_code">
395
- <tr>
396
- <td>
397
- <pre class="lines">
398
-
399
-
400
- 19
401
- 20
402
- 21</pre>
403
- </td>
404
- <td>
405
- <pre class="code"><span class="info file"># File 'lib/zero_push/client.rb', line 19</span>
406
-
407
- <span class='kw'>def</span> <span class='id identifier rubyid_notify'>notify</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
408
- <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/notify</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
409
- <span class='kw'>end</span></pre>
410
- </td>
411
- </tr>
412
- </table>
413
- </div>
414
-
415
- <div class="method_details ">
416
- <h3 class="signature " id="verify_credentials-class_method">
417
-
418
- + (<tt>Boolean</tt>) <strong>verify_credentials</strong>
419
-
420
-
421
-
422
-
423
-
424
- </h3><div class="docstring">
425
- <div class="discussion">
426
-
427
- <p>verifies credentials</p>
428
-
429
-
430
- </div>
431
- </div>
432
- <div class="tags">
433
-
434
- <p class="tag_title">Returns:</p>
435
- <ul class="return">
436
-
437
- <li>
438
-
439
-
440
- <span class='type'>(<tt>Boolean</tt>)</span>
441
-
442
-
443
-
444
- </li>
445
-
446
- </ul>
447
-
448
- </div><table class="source_code">
449
- <tr>
450
- <td>
451
- <pre class="lines">
452
-
453
-
454
- 10
455
- 11
456
- 12
457
- 13</pre>
458
- </td>
459
- <td>
460
- <pre class="code"><span class="info file"># File 'lib/zero_push/client.rb', line 10</span>
461
-
462
- <span class='kw'>def</span> <span class='id identifier rubyid_verify_credentials'>verify_credentials</span>
463
- <span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/verify_credentials</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
464
- <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span> <span class='op'>==</span> <span class='int'>200</span>
465
- <span class='kw'>end</span></pre>
466
- </td>
467
- </tr>
468
- </table>
469
- </div>
470
-
471
- </div>
472
-
473
- </div>
474
-
475
- <div id="footer">
476
- Generated on Sat Jun 8 14:43:46 2013 by
477
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
478
- 0.8.5.2 (ruby-1.9.3).
479
- </div>
480
-
481
- </body>
482
- </html>