songkickr 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. data/Gemfile +6 -2
  2. data/Gemfile.lock +32 -10
  3. data/README.rdoc +7 -7
  4. data/Rakefile +1 -1
  5. data/VERSION +1 -1
  6. data/bin/autospec +16 -0
  7. data/bin/convert_to_should_syntax +16 -0
  8. data/bin/guard +16 -0
  9. data/bin/htmldiff +16 -0
  10. data/bin/httparty +16 -0
  11. data/bin/jeweler +16 -0
  12. data/bin/ldiff +16 -0
  13. data/bin/rake +16 -0
  14. data/bin/rake2thor +16 -0
  15. data/bin/rg +16 -0
  16. data/bin/ri +16 -0
  17. data/bin/rspec +16 -0
  18. data/bin/thor +16 -0
  19. data/doc/APIError.html +241 -0
  20. data/doc/APIKeyNotSet.html +164 -175
  21. data/doc/LICENSE.html +109 -109
  22. data/doc/README_rdoc.html +120 -117
  23. data/doc/ResourceNotFound.html +203 -0
  24. data/doc/Songkickr/Artist.html +210 -237
  25. data/doc/Songkickr/ArtistResult.html +228 -254
  26. data/doc/Songkickr/ConcertSetlistResult.html +205 -223
  27. data/doc/Songkickr/Event.html +344 -409
  28. data/doc/Songkickr/EventResult.html +226 -252
  29. data/doc/Songkickr/Location.html +210 -237
  30. data/doc/Songkickr/LocationResult.html +229 -255
  31. data/doc/Songkickr/Performance.html +222 -253
  32. data/doc/Songkickr/Remote.html +630 -481
  33. data/doc/Songkickr/Setlist.html +258 -296
  34. data/doc/Songkickr/SetlistItem.html +187 -206
  35. data/doc/Songkickr/Venue.html +205 -232
  36. data/doc/Songkickr.html +204 -271
  37. data/doc/created.rid +16 -16
  38. data/doc/images/add.png +0 -0
  39. data/doc/images/delete.png +0 -0
  40. data/doc/images/tag_blue.png +0 -0
  41. data/doc/images/transparent.png +0 -0
  42. data/doc/index.html +93 -127
  43. data/doc/js/darkfish.js +99 -62
  44. data/doc/js/jquery.js +15 -29
  45. data/doc/js/navigation.js +142 -0
  46. data/doc/js/search.js +94 -0
  47. data/doc/js/search_index.js +1 -0
  48. data/doc/js/searcher.js +228 -0
  49. data/doc/rdoc.css +119 -339
  50. data/doc/table_of_contents.html +185 -0
  51. data/lib/songkickr/artist.rb +3 -3
  52. data/lib/songkickr/remote.rb +36 -13
  53. data/lib/songkickr.rb +16 -2
  54. data/songkickr.gemspec +121 -4
  55. data/test/fixtures/vcr/invalid_api_key.yml +63 -0
  56. data/test/fixtures/vcr/invalid_event_id.yml +33 -0
  57. data/test/fixtures/vcr/invalid_user.yml +32 -0
  58. data/test/fixtures/vcr/invalid_venue_id.yml +33 -0
  59. data/test/fixtures/vcr/valid_event.yml +52 -0
  60. data/test/fixtures/vcr/valid_user.yml +71 -0
  61. data/test/fixtures/vcr/valid_venue.yml +53 -0
  62. data/test/helper.rb +2 -2
  63. data/test/songkickr/test_remote.rb +68 -24
  64. data/test/vcr_helper.rb +7 -0
  65. data/test.rb +2 -2
  66. metadata +626 -40
@@ -1,154 +1,147 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+
3
+ <html>
5
4
  <head>
6
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
7
6
 
8
- <title>Class: Songkickr::Event</title>
7
+ <title>class Songkickr::Event - RDoc Documentation</title>
9
8
 
10
- <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
11
10
 
12
- <script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
- <script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
- <script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
- <script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
16
14
 
17
- </head>
18
- <body id="top" class="class">
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
19
21
 
20
- <div id="metadata">
21
- <div id="home-metadata">
22
- <div id="home-section" class="section">
23
- <h3 class="section-header">
24
- <a href="../index.html">Home</a>
25
- <a href="../index.html#classes">Classes</a>
26
- <a href="../index.html#methods">Methods</a>
27
- </h3>
28
- </div>
29
- </div>
30
22
 
31
- <div id="file-metadata">
32
- <div id="file-list-section" class="section">
33
- <h3 class="section-header">In Files</h3>
34
- <div class="section-body">
35
- <ul>
36
-
37
- <li><a href="../lib/songkickr/event_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
- class="thickbox" title="lib/songkickr/event.rb">lib/songkickr/event.rb</a></li>
39
-
40
- </ul>
41
- </div>
42
- </div>
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/songkickr/event.rb
51
+ </ul>
52
+ </nav>
43
53
 
44
-
45
- </div>
54
+
55
+ </div>
46
56
 
47
- <div id="class-metadata">
48
-
49
- <!-- Parent Class -->
50
- <div id="parent-class-section" class="section">
51
- <h3 class="section-header">Parent</h3>
52
-
53
- <p class="link">Object</p>
54
-
55
- </div>
56
-
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link">Object
63
+
64
+ </nav>
57
65
 
58
-
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
59
70
 
60
-
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-c-new">::new</a>
74
+
75
+ <li><a href="#method-i-parse_performance">#parse_performance</a>
76
+
77
+ <li><a href="#method-i-start_hash_to_datetime">#start_hash_to_datetime</a>
78
+
79
+ </ul>
80
+ </nav>
61
81
 
62
-
63
- <!-- Method Quickref -->
64
- <div id="method-list-section" class="section">
65
- <h3 class="section-header">Methods</h3>
66
- <ul class="link-list">
67
-
68
- <li><a href="#method-c-new">::new</a></li>
69
-
70
- <li><a href="#method-i-parse_performance">#parse_performance</a></li>
71
-
72
- <li><a href="#method-i-start_hash_to_datetime">#start_hash_to_datetime</a></li>
73
-
74
- </ul>
75
- </div>
76
-
82
+ </div>
77
83
 
78
-
79
- </div>
84
+ <div id="project-metadata">
85
+ <nav id="fileindex-section" class="section project-section">
86
+ <h3 class="section-header">Pages</h3>
80
87
 
81
- <div id="project-metadata">
82
-
83
-
84
- <div id="fileindex-section" class="section project-section">
85
- <h3 class="section-header">Files</h3>
86
- <ul>
87
-
88
- <li class="file"><a href="../LICENSE.html">LICENSE</a></li>
89
-
90
- <li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
91
-
92
- </ul>
93
- </div>
94
-
88
+ <ul>
89
+
90
+ <li class="file"><a href="../LICENSE.html">LICENSE</a>
91
+
92
+ <li class="file"><a href="../README_rdoc.html">README</a>
93
+
94
+ </ul>
95
+ </nav>
95
96
 
96
- <div id="classindex-section" class="section project-section">
97
- <h3 class="section-header">Class/Module Index
98
- <span class="search-toggle"><img src="../images/find.png"
99
- height="16" width="16" alt="[+]"
100
- title="show/hide quicksearch" /></span></h3>
101
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
102
- <fieldset>
103
- <legend>Quicksearch</legend>
104
- <input type="text" name="quicksearch" value=""
105
- class="quicksearch-field" />
106
- </fieldset>
107
- </form>
97
+ <nav id="classindex-section" class="section project-section">
98
+ <h3 class="section-header">Class and Module Index</h3>
108
99
 
109
- <ul class="link-list">
110
-
111
- <li><a href="../Songkickr.html">Songkickr</a></li>
112
-
113
- <li><a href="../Songkickr/Artist.html">Songkickr::Artist</a></li>
114
-
115
- <li><a href="../Songkickr/ArtistResult.html">Songkickr::ArtistResult</a></li>
116
-
117
- <li><a href="../Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a></li>
118
-
119
- <li><a href="../Songkickr/Event.html">Songkickr::Event</a></li>
120
-
121
- <li><a href="../Songkickr/EventResult.html">Songkickr::EventResult</a></li>
122
-
123
- <li><a href="../Songkickr/Location.html">Songkickr::Location</a></li>
124
-
125
- <li><a href="../Songkickr/LocationResult.html">Songkickr::LocationResult</a></li>
126
-
127
- <li><a href="../Songkickr/Performance.html">Songkickr::Performance</a></li>
128
-
129
- <li><a href="../Songkickr/Remote.html">Songkickr::Remote</a></li>
130
-
131
- <li><a href="../Songkickr/Setlist.html">Songkickr::Setlist</a></li>
132
-
133
- <li><a href="../Songkickr/SetlistItem.html">Songkickr::SetlistItem</a></li>
134
-
135
- <li><a href="../Songkickr/Venue.html">Songkickr::Venue</a></li>
136
-
137
- <li><a href="../APIKeyNotSet.html">APIKeyNotSet</a></li>
138
-
139
- </ul>
140
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
141
- </div>
100
+ <ul class="link-list">
101
+
102
+ <li><a href="../Songkickr.html">Songkickr</a>
103
+
104
+ <li><a href="../Songkickr/Artist.html">Songkickr::Artist</a>
105
+
106
+ <li><a href="../Songkickr/ArtistResult.html">Songkickr::ArtistResult</a>
107
+
108
+ <li><a href="../Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a>
109
+
110
+ <li><a href="../Songkickr/Event.html">Songkickr::Event</a>
111
+
112
+ <li><a href="../Songkickr/EventResult.html">Songkickr::EventResult</a>
113
+
114
+ <li><a href="../Songkickr/Location.html">Songkickr::Location</a>
115
+
116
+ <li><a href="../Songkickr/LocationResult.html">Songkickr::LocationResult</a>
117
+
118
+ <li><a href="../Songkickr/Performance.html">Songkickr::Performance</a>
119
+
120
+ <li><a href="../Songkickr/Remote.html">Songkickr::Remote</a>
121
+
122
+ <li><a href="../Songkickr/Setlist.html">Songkickr::Setlist</a>
123
+
124
+ <li><a href="../Songkickr/SetlistItem.html">Songkickr::SetlistItem</a>
125
+
126
+ <li><a href="../Songkickr/Venue.html">Songkickr::Venue</a>
127
+
128
+ <li><a href="../APIError.html">APIError</a>
129
+
130
+ <li><a href="../APIKeyNotSet.html">APIKeyNotSet</a>
131
+
132
+ <li><a href="../ResourceNotFound.html">ResourceNotFound</a>
133
+
134
+ </ul>
135
+ </nav>
142
136
 
143
-
144
- </div>
145
137
  </div>
138
+ </nav>
146
139
 
147
- <div id="documentation">
148
- <h1 class="class">Songkickr::Event</h1>
140
+ <div id="documentation">
141
+ <h1 class="class">class Songkickr::Event</h1>
149
142
 
150
- <div id="description" class="description">
151
-
143
+ <div id="description" class="description">
144
+
152
145
  <p>A single event</p>
153
146
 
154
147
  <pre>{
@@ -188,255 +181,206 @@
188
181
  <p><a
189
182
  href="http://www.songkick.com/developer/artist-search">www.songkick.com/developer/artist-search</a></p>
190
183
 
191
- </div><!-- description -->
184
+ </div><!-- description -->
192
185
 
186
+
187
+
188
+
189
+ <section id="5Buntitled-5D" class="documentation-section">
193
190
 
194
- <div id="5Buntitled-5D" class="documentation-section">
195
-
196
191
 
197
-
192
+
198
193
 
199
-
194
+
195
+
196
+
197
+ <!-- Attributes -->
198
+ <section id="attribute-method-details" class="method-section section">
199
+ <h3 class="section-header">Attributes</h3>
200
200
 
201
201
 
202
- <!-- Attributes -->
203
- <div id="attribute-method-details" class="method-section section">
204
- <h3 class="section-header">Attributes</h3>
202
+ <div id="attribute-i-display_name" class="method-detail">
203
+ <div class="method-heading attribute-method-heading">
204
+ <span class="method-name">display_name</span><span
205
+ class="attribute-access-type">[RW]</span>
206
+ </div>
205
207
 
208
+ <div class="method-description">
206
209
 
207
- <div id="display_name-attribute-method" class="method-detail">
208
- <a name="display_name"></a>
209
-
210
- <a name="display_name="></a>
211
-
212
- <div class="method-heading attribute-method-heading">
213
- <span class="method-name">display_name</span><span
214
- class="attribute-access-type">[RW]</span>
215
- </div>
216
-
217
- <div class="method-description">
218
-
219
-
220
-
221
- </div>
222
- </div>
223
210
 
224
- <div id="id-attribute-method" class="method-detail">
225
- <a name="id"></a>
226
-
227
- <a name="id="></a>
228
-
229
- <div class="method-heading attribute-method-heading">
230
- <span class="method-name">id</span><span
231
- class="attribute-access-type">[RW]</span>
232
- </div>
233
-
234
- <div class="method-description">
235
-
236
-
237
-
238
- </div>
239
- </div>
240
211
 
241
- <div id="lat-attribute-method" class="method-detail">
242
- <a name="lat"></a>
243
-
244
- <a name="lat="></a>
245
-
246
- <div class="method-heading attribute-method-heading">
247
- <span class="method-name">lat</span><span
248
- class="attribute-access-type">[RW]</span>
249
- </div>
250
-
251
- <div class="method-description">
252
-
253
-
254
-
255
- </div>
256
212
  </div>
257
-
258
- <div id="lng-attribute-method" class="method-detail">
259
- <a name="lng"></a>
260
-
261
- <a name="lng="></a>
262
-
263
- <div class="method-heading attribute-method-heading">
264
- <span class="method-name">lng</span><span
265
- class="attribute-access-type">[RW]</span>
266
- </div>
267
-
268
- <div class="method-description">
269
-
270
-
271
-
272
- </div>
213
+ </div>
214
+
215
+ <div id="attribute-i-id" class="method-detail">
216
+ <div class="method-heading attribute-method-heading">
217
+ <span class="method-name">id</span><span
218
+ class="attribute-access-type">[RW]</span>
273
219
  </div>
274
-
275
- <div id="location-attribute-method" class="method-detail">
276
- <a name="location"></a>
277
-
278
- <a name="location="></a>
279
-
280
- <div class="method-heading attribute-method-heading">
281
- <span class="method-name">location</span><span
282
- class="attribute-access-type">[RW]</span>
283
- </div>
284
220
 
285
- <div class="method-description">
286
-
287
-
288
-
289
- </div>
290
- </div>
221
+ <div class="method-description">
291
222
 
292
- <div id="performances-attribute-method" class="method-detail">
293
- <a name="performances"></a>
294
-
295
- <a name="performances="></a>
296
-
297
- <div class="method-heading attribute-method-heading">
298
- <span class="method-name">performances</span><span
299
- class="attribute-access-type">[RW]</span>
300
- </div>
301
-
302
- <div class="method-description">
303
-
304
-
305
-
306
- </div>
307
- </div>
308
223
 
309
- <div id="start-attribute-method" class="method-detail">
310
- <a name="start"></a>
311
-
312
- <a name="start="></a>
313
-
314
- <div class="method-heading attribute-method-heading">
315
- <span class="method-name">start</span><span
316
- class="attribute-access-type">[RW]</span>
317
- </div>
318
-
319
- <div class="method-description">
320
-
321
-
322
-
323
- </div>
324
- </div>
325
224
 
326
- <div id="status-attribute-method" class="method-detail">
327
- <a name="status"></a>
328
-
329
- <a name="status="></a>
330
-
331
- <div class="method-heading attribute-method-heading">
332
- <span class="method-name">status</span><span
333
- class="attribute-access-type">[RW]</span>
334
- </div>
335
-
336
- <div class="method-description">
337
-
338
-
339
-
340
- </div>
341
225
  </div>
342
-
343
- <div id="tickets_uri-attribute-method" class="method-detail">
344
- <a name="tickets_uri"></a>
345
-
346
- <a name="tickets_uri="></a>
347
-
348
- <div class="method-heading attribute-method-heading">
349
- <span class="method-name">tickets_uri</span><span
350
- class="attribute-access-type">[RW]</span>
351
- </div>
226
+ </div>
227
+
228
+ <div id="attribute-i-lat" class="method-detail">
229
+ <div class="method-heading attribute-method-heading">
230
+ <span class="method-name">lat</span><span
231
+ class="attribute-access-type">[RW]</span>
232
+ </div>
352
233
 
353
- <div class="method-description">
354
-
355
-
356
-
357
- </div>
234
+ <div class="method-description">
235
+
236
+
237
+
358
238
  </div>
239
+ </div>
240
+
241
+ <div id="attribute-i-lng" class="method-detail">
242
+ <div class="method-heading attribute-method-heading">
243
+ <span class="method-name">lng</span><span
244
+ class="attribute-access-type">[RW]</span>
245
+ </div>
246
+
247
+ <div class="method-description">
359
248
 
360
- <div id="type-attribute-method" class="method-detail">
361
- <a name="type"></a>
362
-
363
- <a name="type="></a>
364
-
365
- <div class="method-heading attribute-method-heading">
366
- <span class="method-name">type</span><span
367
- class="attribute-access-type">[RW]</span>
368
- </div>
249
+
250
+
251
+ </div>
252
+ </div>
253
+
254
+ <div id="attribute-i-location" class="method-detail">
255
+ <div class="method-heading attribute-method-heading">
256
+ <span class="method-name">location</span><span
257
+ class="attribute-access-type">[RW]</span>
258
+ </div>
369
259
 
370
- <div class="method-description">
371
-
372
-
373
-
374
- </div>
260
+ <div class="method-description">
261
+
262
+
263
+
264
+ </div>
265
+ </div>
266
+
267
+ <div id="attribute-i-performances" class="method-detail">
268
+ <div class="method-heading attribute-method-heading">
269
+ <span class="method-name">performances</span><span
270
+ class="attribute-access-type">[RW]</span>
375
271
  </div>
272
+
273
+ <div class="method-description">
376
274
 
377
- <div id="uri-attribute-method" class="method-detail">
378
- <a name="uri"></a>
379
-
380
- <a name="uri="></a>
381
-
382
- <div class="method-heading attribute-method-heading">
383
- <span class="method-name">uri</span><span
384
- class="attribute-access-type">[RW]</span>
385
- </div>
275
+
276
+
277
+ </div>
278
+ </div>
279
+
280
+ <div id="attribute-i-start" class="method-detail">
281
+ <div class="method-heading attribute-method-heading">
282
+ <span class="method-name">start</span><span
283
+ class="attribute-access-type">[RW]</span>
284
+ </div>
386
285
 
387
- <div class="method-description">
388
-
389
-
390
-
391
- </div>
286
+ <div class="method-description">
287
+
288
+
289
+
290
+ </div>
291
+ </div>
292
+
293
+ <div id="attribute-i-status" class="method-detail">
294
+ <div class="method-heading attribute-method-heading">
295
+ <span class="method-name">status</span><span
296
+ class="attribute-access-type">[RW]</span>
392
297
  </div>
298
+
299
+ <div class="method-description">
393
300
 
394
- <div id="venue-attribute-method" class="method-detail">
395
- <a name="venue"></a>
396
-
397
- <a name="venue="></a>
398
-
399
- <div class="method-heading attribute-method-heading">
400
- <span class="method-name">venue</span><span
401
- class="attribute-access-type">[RW]</span>
402
- </div>
301
+
302
+
303
+ </div>
304
+ </div>
305
+
306
+ <div id="attribute-i-tickets_uri" class="method-detail">
307
+ <div class="method-heading attribute-method-heading">
308
+ <span class="method-name">tickets_uri</span><span
309
+ class="attribute-access-type">[RW]</span>
310
+ </div>
403
311
 
404
- <div class="method-description">
405
-
406
-
407
-
408
- </div>
312
+ <div class="method-description">
313
+
314
+
315
+
409
316
  </div>
317
+ </div>
318
+
319
+ <div id="attribute-i-type" class="method-detail">
320
+ <div class="method-heading attribute-method-heading">
321
+ <span class="method-name">type</span><span
322
+ class="attribute-access-type">[RW]</span>
323
+ </div>
324
+
325
+ <div class="method-description">
326
+
327
+
410
328
 
411
- </div><!-- attribute-method-details -->
329
+ </div>
330
+ </div>
412
331
 
332
+ <div id="attribute-i-uri" class="method-detail">
333
+ <div class="method-heading attribute-method-heading">
334
+ <span class="method-name">uri</span><span
335
+ class="attribute-access-type">[RW]</span>
336
+ </div>
413
337
 
414
- <!-- Methods -->
338
+ <div class="method-description">
339
+
340
+
341
+
342
+ </div>
343
+ </div>
415
344
 
416
- <div id="public-class-method-details" class="method-section section">
417
- <h3 class="section-header">Public Class Methods</h3>
345
+ <div id="attribute-i-venue" class="method-detail">
346
+ <div class="method-heading attribute-method-heading">
347
+ <span class="method-name">venue</span><span
348
+ class="attribute-access-type">[RW]</span>
349
+ </div>
418
350
 
351
+ <div class="method-description">
352
+
353
+
354
+
355
+ </div>
356
+ </div>
419
357
 
420
- <div id="new-method" class="method-detail ">
421
- <a name="method-c-new"></a>
358
+ </section><!-- attribute-method-details -->
359
+
360
+
361
+ <!-- Methods -->
362
+
363
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
364
+ <h3 class="section-header">Public Class Methods</h3>
422
365
 
366
+
367
+ <div id="method-c-new" class="method-detail ">
368
+
369
+ <div class="method-heading">
370
+ <span class="method-name">new</span><span
371
+ class="method-args">(event_hash)</span>
372
+ <span class="method-click-advice">click to toggle source</span>
373
+ </div>
374
+
375
+
376
+ <div class="method-description">
377
+
423
378
 
424
- <div class="method-heading">
425
- <span class="method-name">new</span><span
426
- class="method-args">(event_hash)</span>
427
- <span class="method-click-advice">click to toggle source</span>
428
- </div>
429
379
 
430
380
 
431
- <div class="method-description">
432
-
433
-
434
-
435
-
436
-
437
- <div class="method-source-code" id="new-source">
438
- <pre>
439
- <span class="ruby-comment"># File lib/songkickr/event.rb, line 42</span>
381
+
382
+ <div class="method-source-code" id="new-source">
383
+ <pre><span class="ruby-comment"># File lib/songkickr/event.rb, line 42</span>
440
384
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">event_hash</span>)
441
385
  <span class="ruby-ivar">@type</span> = <span class="ruby-identifier">event_hash</span>[<span class="ruby-string">&quot;type&quot;</span>]
442
386
  <span class="ruby-ivar">@location</span> = <span class="ruby-constant">Songkickr</span><span class="ruby-operator">::</span><span class="ruby-constant">Location</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">event_hash</span>[<span class="ruby-string">&quot;location&quot;</span>]
@@ -449,42 +393,39 @@ href="http://www.songkick.com/developer/artist-search">www.songkick.com/develope
449
393
  <span class="ruby-ivar">@id</span> = <span class="ruby-identifier">event_hash</span>[<span class="ruby-string">&quot;id&quot;</span>]
450
394
  <span class="ruby-ivar">@tickets_uri</span> = <span class="ruby-identifier">event_hash</span>[<span class="ruby-string">&quot;ticketsUri&quot;</span>]
451
395
  <span class="ruby-keyword">end</span></pre>
452
- </div><!-- new-source -->
453
-
454
- </div>
455
-
396
+ </div><!-- new-source -->
456
397
 
398
+ </div>
457
399
 
458
-
459
- </div><!-- new-method -->
400
+
401
+
402
+
403
+ </div><!-- new-method -->
460
404
 
461
-
462
- </div><!-- public-class-method-details -->
463
405
 
464
- <div id="protected-instance-method-details" class="method-section section">
465
- <h3 class="section-header">Protected Instance Methods</h3>
406
+ </section><!-- public-class-method-details -->
407
+
408
+ <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
409
+ <h3 class="section-header">Protected Instance Methods</h3>
466
410
 
467
-
468
- <div id="parse_performance-method" class="method-detail ">
469
- <a name="method-i-parse_performance"></a>
411
+
412
+ <div id="method-i-parse_performance" class="method-detail ">
413
+
414
+ <div class="method-heading">
415
+ <span class="method-name">parse_performance</span><span
416
+ class="method-args">(performance_array = nil)</span>
417
+ <span class="method-click-advice">click to toggle source</span>
418
+ </div>
419
+
470
420
 
421
+ <div class="method-description">
471
422
 
472
- <div class="method-heading">
473
- <span class="method-name">parse_performance</span><span
474
- class="method-args">(performance_array = nil)</span>
475
- <span class="method-click-advice">click to toggle source</span>
476
- </div>
423
+ <p>Builds a list of <a href="Performance.html">Performance</a> objects.</p>
477
424
 
478
425
 
479
- <div class="method-description">
480
-
481
- <p>Builds a list of <a href="Performance.html">Performance</a> objects.</p>
482
-
483
-
484
-
485
- <div class="method-source-code" id="parse_performance-source">
486
- <pre>
487
- <span class="ruby-comment"># File lib/songkickr/event.rb, line 63</span>
426
+
427
+ <div class="method-source-code" id="parse_performance-source">
428
+ <pre><span class="ruby-comment"># File lib/songkickr/event.rb, line 63</span>
488
429
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">parse_performance</span>(<span class="ruby-identifier">performance_array</span> = <span class="ruby-keyword">nil</span>)
489
430
  <span class="ruby-identifier">performances</span> = []
490
431
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">performance_array</span>
@@ -495,62 +436,56 @@ href="http://www.songkick.com/developer/artist-search">www.songkick.com/develope
495
436
 
496
437
  <span class="ruby-identifier">performances</span>
497
438
  <span class="ruby-keyword">end</span></pre>
498
- </div><!-- parse_performance-source -->
499
-
500
- </div>
501
-
439
+ </div><!-- parse_performance-source -->
502
440
 
441
+ </div>
503
442
 
504
-
505
- </div><!-- parse_performance-method -->
443
+
506
444
 
507
-
508
- <div id="start_hash_to_datetime-method" class="method-detail ">
509
- <a name="method-i-start_hash_to_datetime"></a>
445
+
446
+ </div><!-- parse_performance-method -->
510
447
 
448
+
449
+ <div id="method-i-start_hash_to_datetime" class="method-detail ">
450
+
451
+ <div class="method-heading">
452
+ <span class="method-name">start_hash_to_datetime</span><span
453
+ class="method-args">(start_hash)</span>
454
+ <span class="method-click-advice">click to toggle source</span>
455
+ </div>
456
+
457
+
458
+ <div class="method-description">
511
459
 
512
- <div class="method-heading">
513
- <span class="method-name">start_hash_to_datetime</span><span
514
- class="method-args">(start_hash)</span>
515
- <span class="method-click-advice">click to toggle source</span>
516
- </div>
460
+ <p>Takes the start hash and turns in into a DateTime object.</p>
517
461
 
518
462
 
519
- <div class="method-description">
520
-
521
- <p>Takes the start hash and turns in into a DateTime object.</p>
522
-
523
-
524
-
525
- <div class="method-source-code" id="start_hash_to_datetime-source">
526
- <pre>
527
- <span class="ruby-comment"># File lib/songkickr/event.rb, line 58</span>
463
+
464
+ <div class="method-source-code" id="start_hash_to_datetime-source">
465
+ <pre><span class="ruby-comment"># File lib/songkickr/event.rb, line 58</span>
528
466
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">start_hash_to_datetime</span>(<span class="ruby-identifier">start_hash</span>)
529
467
  <span class="ruby-identifier">datetime</span> = <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-node">&quot;#{start_hash[&quot;date&quot;]} #{start_hash[&quot;time&quot;]}&quot;</span>)
530
468
  <span class="ruby-keyword">end</span></pre>
531
- </div><!-- start_hash_to_datetime-source -->
532
-
533
- </div>
534
-
469
+ </div><!-- start_hash_to_datetime-source -->
535
470
 
471
+ </div>
536
472
 
537
-
538
- </div><!-- start_hash_to_datetime-method -->
473
+
474
+
475
+
476
+ </div><!-- start_hash_to_datetime-method -->
539
477
 
540
-
541
- </div><!-- protected-instance-method-details -->
542
478
 
543
- </div><!-- 5Buntitled-5D -->
479
+ </section><!-- protected-instance-method-details -->
544
480
 
481
+ </section><!-- 5Buntitled-5D -->
545
482
 
546
- </div><!-- documentation -->
483
+ </div><!-- documentation -->
547
484
 
548
- <div id="validator-badges">
549
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
550
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
551
- Rdoc Generator</a> 2</small>.</p>
552
- </div>
553
485
 
554
- </body>
555
- </html>
486
+ <footer id="validator-badges">
487
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
488
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
489
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
490
+ </footer>
556
491