songkickr 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.rdoc +11 -4
- data/VERSION +1 -1
- data/doc/APIKeyNotSet.html +214 -0
- data/doc/LICENSE.html +133 -0
- data/doc/README_rdoc.html +170 -0
- data/doc/Songkickr/Artist.html +305 -0
- data/doc/Songkickr/ArtistResult.html +334 -0
- data/doc/Songkickr/ConcertSetlistResult.html +301 -0
- data/doc/Songkickr/Event.html +556 -0
- data/doc/Songkickr/EventResult.html +332 -0
- data/doc/Songkickr/Location.html +326 -0
- data/doc/Songkickr/LocationResult.html +335 -0
- data/doc/Songkickr/Performance.html +326 -0
- data/doc/Songkickr/Remote.html +715 -0
- data/doc/Songkickr/Setlist.html +398 -0
- data/doc/Songkickr/SetlistItem.html +263 -0
- data/doc/Songkickr/Venue.html +292 -0
- data/doc/Songkickr.html +328 -0
- data/doc/created.rid +16 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +144 -0
- data/doc/js/darkfish.js +116 -0
- data/doc/js/jquery.js +32 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/songkickr/artist_rb.html +52 -0
- data/doc/lib/songkickr/artist_result_rb.html +52 -0
- data/doc/lib/songkickr/concert_setlist_result_rb.html +52 -0
- data/doc/lib/songkickr/event_rb.html +52 -0
- data/doc/lib/songkickr/event_result_rb.html +52 -0
- data/doc/lib/songkickr/location_rb.html +52 -0
- data/doc/lib/songkickr/location_result_rb.html +52 -0
- data/doc/lib/songkickr/performance_rb.html +52 -0
- data/doc/lib/songkickr/remote_rb.html +52 -0
- data/doc/lib/songkickr/setlist_item_rb.html +52 -0
- data/doc/lib/songkickr/setlist_rb.html +52 -0
- data/doc/lib/songkickr/venue_rb.html +52 -0
- data/doc/lib/songkickr_rb.html +56 -0
- data/doc/rdoc.css +759 -0
- data/lib/songkickr/artist.rb +17 -6
- data/lib/songkickr/artist_result.rb +25 -22
- data/lib/songkickr/concert_setlist_result.rb +6 -2
- data/lib/songkickr/event.rb +42 -3
- data/lib/songkickr/event_result.rb +3 -1
- data/lib/songkickr/location.rb +28 -3
- data/lib/songkickr/location_result.rb +8 -3
- data/lib/songkickr/performance.rb +20 -4
- data/lib/songkickr/remote.rb +102 -60
- data/lib/songkickr/setlist.rb +20 -0
- data/lib/songkickr/setlist_item.rb +6 -0
- data/lib/songkickr.rb +16 -3
- data/songkickr.gemspec +60 -12
- data/test.rb +12 -11
- metadata +66 -13
@@ -0,0 +1,398 @@
|
|
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">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Class: Songkickr::Setlist</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
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>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body id="top" class="class">
|
19
|
+
|
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
|
+
|
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/setlist_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
+
class="thickbox" title="lib/songkickr/setlist.rb">lib/songkickr/setlist.rb</a></li>
|
39
|
+
|
40
|
+
</ul>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
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
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
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_setlist_items">#parse_setlist_items</a></li>
|
71
|
+
|
72
|
+
</ul>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div id="project-metadata">
|
80
|
+
|
81
|
+
|
82
|
+
<div id="fileindex-section" class="section project-section">
|
83
|
+
<h3 class="section-header">Files</h3>
|
84
|
+
<ul>
|
85
|
+
|
86
|
+
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
|
87
|
+
|
88
|
+
<li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
|
94
|
+
<div id="classindex-section" class="section project-section">
|
95
|
+
<h3 class="section-header">Class/Module Index
|
96
|
+
<span class="search-toggle"><img src="../images/find.png"
|
97
|
+
height="16" width="16" alt="[+]"
|
98
|
+
title="show/hide quicksearch" /></span></h3>
|
99
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
100
|
+
<fieldset>
|
101
|
+
<legend>Quicksearch</legend>
|
102
|
+
<input type="text" name="quicksearch" value=""
|
103
|
+
class="quicksearch-field" />
|
104
|
+
</fieldset>
|
105
|
+
</form>
|
106
|
+
|
107
|
+
<ul class="link-list">
|
108
|
+
|
109
|
+
<li><a href="../Songkickr.html">Songkickr</a></li>
|
110
|
+
|
111
|
+
<li><a href="../Songkickr/Artist.html">Songkickr::Artist</a></li>
|
112
|
+
|
113
|
+
<li><a href="../Songkickr/ArtistResult.html">Songkickr::ArtistResult</a></li>
|
114
|
+
|
115
|
+
<li><a href="../Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a></li>
|
116
|
+
|
117
|
+
<li><a href="../Songkickr/Event.html">Songkickr::Event</a></li>
|
118
|
+
|
119
|
+
<li><a href="../Songkickr/EventResult.html">Songkickr::EventResult</a></li>
|
120
|
+
|
121
|
+
<li><a href="../Songkickr/Location.html">Songkickr::Location</a></li>
|
122
|
+
|
123
|
+
<li><a href="../Songkickr/LocationResult.html">Songkickr::LocationResult</a></li>
|
124
|
+
|
125
|
+
<li><a href="../Songkickr/Performance.html">Songkickr::Performance</a></li>
|
126
|
+
|
127
|
+
<li><a href="../Songkickr/Remote.html">Songkickr::Remote</a></li>
|
128
|
+
|
129
|
+
<li><a href="../Songkickr/Setlist.html">Songkickr::Setlist</a></li>
|
130
|
+
|
131
|
+
<li><a href="../Songkickr/SetlistItem.html">Songkickr::SetlistItem</a></li>
|
132
|
+
|
133
|
+
<li><a href="../Songkickr/Venue.html">Songkickr::Venue</a></li>
|
134
|
+
|
135
|
+
<li><a href="../APIKeyNotSet.html">APIKeyNotSet</a></li>
|
136
|
+
|
137
|
+
</ul>
|
138
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
|
142
|
+
</div>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
<div id="documentation">
|
146
|
+
<h1 class="class">Songkickr::Setlist</h1>
|
147
|
+
|
148
|
+
<div id="description" class="description">
|
149
|
+
|
150
|
+
<p>A single set list by an artist.</p>
|
151
|
+
|
152
|
+
<p>{</p>
|
153
|
+
|
154
|
+
<pre>"displayName": "N.E.R.D. at Glastonbury Festival 2009",
|
155
|
+
"artist": {
|
156
|
+
"uri": "http://www.songkick.com/artists/387012-nerd?utm_source=791&utm_medium=partner"
|
157
|
+
"identifier": [
|
158
|
+
{
|
159
|
+
"href": "http://api.songkick.com/api/3.0/artists/mbid:3fb49f5a-fdc0-4789-9c84-22b38b3f3cb5.json"
|
160
|
+
"mbid": "3fb49f5a-fdc0-4789-9c84-22b38b3f3cb5"
|
161
|
+
}
|
162
|
+
]
|
163
|
+
"displayName": "N.E.R.D."
|
164
|
+
"id": 387012
|
165
|
+
},
|
166
|
+
"id": 9511,
|
167
|
+
"setlistItem": []</pre>
|
168
|
+
|
169
|
+
<p>}</p>
|
170
|
+
|
171
|
+
</div><!-- description -->
|
172
|
+
|
173
|
+
|
174
|
+
<div id="5Buntitled-5D" class="documentation-section">
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
<!-- Attributes -->
|
183
|
+
<div id="attribute-method-details" class="method-section section">
|
184
|
+
<h3 class="section-header">Attributes</h3>
|
185
|
+
|
186
|
+
|
187
|
+
<div id="artist-attribute-method" class="method-detail">
|
188
|
+
<a name="artist"></a>
|
189
|
+
|
190
|
+
<a name="artist="></a>
|
191
|
+
|
192
|
+
<div class="method-heading attribute-method-heading">
|
193
|
+
<span class="method-name">artist</span><span
|
194
|
+
class="attribute-access-type">[RW]</span>
|
195
|
+
</div>
|
196
|
+
|
197
|
+
<div class="method-description">
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
</div>
|
202
|
+
</div>
|
203
|
+
|
204
|
+
<div id="display_name-attribute-method" class="method-detail">
|
205
|
+
<a name="display_name"></a>
|
206
|
+
|
207
|
+
<a name="display_name="></a>
|
208
|
+
|
209
|
+
<div class="method-heading attribute-method-heading">
|
210
|
+
<span class="method-name">display_name</span><span
|
211
|
+
class="attribute-access-type">[RW]</span>
|
212
|
+
</div>
|
213
|
+
|
214
|
+
<div class="method-description">
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
<div id="event-attribute-method" class="method-detail">
|
222
|
+
<a name="event"></a>
|
223
|
+
|
224
|
+
<a name="event="></a>
|
225
|
+
|
226
|
+
<div class="method-heading attribute-method-heading">
|
227
|
+
<span class="method-name">event</span><span
|
228
|
+
class="attribute-access-type">[RW]</span>
|
229
|
+
</div>
|
230
|
+
|
231
|
+
<div class="method-description">
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
</div>
|
236
|
+
</div>
|
237
|
+
|
238
|
+
<div id="id-attribute-method" class="method-detail">
|
239
|
+
<a name="id"></a>
|
240
|
+
|
241
|
+
<a name="id="></a>
|
242
|
+
|
243
|
+
<div class="method-heading attribute-method-heading">
|
244
|
+
<span class="method-name">id</span><span
|
245
|
+
class="attribute-access-type">[RW]</span>
|
246
|
+
</div>
|
247
|
+
|
248
|
+
<div class="method-description">
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
</div>
|
253
|
+
</div>
|
254
|
+
|
255
|
+
<div id="playlist_uri-attribute-method" class="method-detail">
|
256
|
+
<a name="playlist_uri"></a>
|
257
|
+
|
258
|
+
<a name="playlist_uri="></a>
|
259
|
+
|
260
|
+
<div class="method-heading attribute-method-heading">
|
261
|
+
<span class="method-name">playlist_uri</span><span
|
262
|
+
class="attribute-access-type">[RW]</span>
|
263
|
+
</div>
|
264
|
+
|
265
|
+
<div class="method-description">
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
|
272
|
+
<div id="setlist_items-attribute-method" class="method-detail">
|
273
|
+
<a name="setlist_items"></a>
|
274
|
+
|
275
|
+
<a name="setlist_items="></a>
|
276
|
+
|
277
|
+
<div class="method-heading attribute-method-heading">
|
278
|
+
<span class="method-name">setlist_items</span><span
|
279
|
+
class="attribute-access-type">[RW]</span>
|
280
|
+
</div>
|
281
|
+
|
282
|
+
<div class="method-description">
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
</div>
|
287
|
+
</div>
|
288
|
+
|
289
|
+
</div><!-- attribute-method-details -->
|
290
|
+
|
291
|
+
|
292
|
+
<!-- Methods -->
|
293
|
+
|
294
|
+
<div id="protected-instance-method-details" class="method-section section">
|
295
|
+
<h3 class="section-header">Protected Instance Methods</h3>
|
296
|
+
|
297
|
+
|
298
|
+
<div id="parse_setlist_items-method" class="method-detail ">
|
299
|
+
<a name="method-i-parse_setlist_items"></a>
|
300
|
+
|
301
|
+
|
302
|
+
<div class="method-heading">
|
303
|
+
<span class="method-name">parse_setlist_items</span><span
|
304
|
+
class="method-args">(setlist_item_array = nil)</span>
|
305
|
+
<span class="method-click-advice">click to toggle source</span>
|
306
|
+
</div>
|
307
|
+
|
308
|
+
|
309
|
+
<div class="method-description">
|
310
|
+
|
311
|
+
<p>Takes the array of setlist items and create SetLists</p>
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
<div class="method-source-code" id="parse_setlist_items-source">
|
316
|
+
<pre>
|
317
|
+
<span class="ruby-comment"># File lib/songkickr/setlist.rb, line 36</span>
|
318
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">parse_setlist_items</span>(<span class="ruby-identifier">setlist_item_array</span> = <span class="ruby-keyword">nil</span>)
|
319
|
+
<span class="ruby-identifier">setlist_items</span> = []
|
320
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">setlist_item_array</span>
|
321
|
+
<span class="ruby-identifier">setlist_item_array</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span>
|
322
|
+
<span class="ruby-identifier">setlist_items</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">Songkickr</span><span class="ruby-operator">::</span><span class="ruby-constant">SetlistItem</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">item</span>)
|
323
|
+
<span class="ruby-keyword">end</span>
|
324
|
+
<span class="ruby-keyword">end</span>
|
325
|
+
|
326
|
+
<span class="ruby-identifier">setlist_items</span>
|
327
|
+
<span class="ruby-keyword">end</span></pre>
|
328
|
+
</div><!-- parse_setlist_items-source -->
|
329
|
+
|
330
|
+
</div>
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
</div><!-- parse_setlist_items-method -->
|
336
|
+
|
337
|
+
|
338
|
+
</div><!-- protected-instance-method-details -->
|
339
|
+
|
340
|
+
<div id="public-class-method-details" class="method-section section">
|
341
|
+
<h3 class="section-header">Public Class Methods</h3>
|
342
|
+
|
343
|
+
|
344
|
+
<div id="new-method" class="method-detail ">
|
345
|
+
<a name="method-c-new"></a>
|
346
|
+
|
347
|
+
|
348
|
+
<div class="method-heading">
|
349
|
+
<span class="method-name">new</span><span
|
350
|
+
class="method-args">(setlist_hash)</span>
|
351
|
+
<span class="method-click-advice">click to toggle source</span>
|
352
|
+
</div>
|
353
|
+
|
354
|
+
|
355
|
+
<div class="method-description">
|
356
|
+
|
357
|
+
<p>Takes the setlist hash and parses out an <a href="Event.html">Event</a> and
|
358
|
+
<a href="Artist.html">Artist</a> and an array of SetlistItems.</p>
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
<div class="method-source-code" id="new-source">
|
363
|
+
<pre>
|
364
|
+
<span class="ruby-comment"># File lib/songkickr/setlist.rb, line 24</span>
|
365
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">setlist_hash</span>)
|
366
|
+
<span class="ruby-ivar">@event</span> = <span class="ruby-constant">Songkickr</span><span class="ruby-operator">::</span><span class="ruby-constant">Event</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">setlist_hash</span>[<span class="ruby-string">"event"</span>]
|
367
|
+
<span class="ruby-ivar">@setlist_items</span> = <span class="ruby-identifier">parse_setlist_items</span> <span class="ruby-identifier">setlist_hash</span>[<span class="ruby-string">"setlistItem"</span>]
|
368
|
+
<span class="ruby-ivar">@artist</span> = <span class="ruby-constant">Songkickr</span><span class="ruby-operator">::</span><span class="ruby-constant">Artist</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">setlist_hash</span>[<span class="ruby-string">"artist"</span>]
|
369
|
+
<span class="ruby-ivar">@playlist_uri</span> = <span class="ruby-identifier">setlist_hash</span>[<span class="ruby-string">"playlistUri"</span>]
|
370
|
+
<span class="ruby-ivar">@display_name</span> = <span class="ruby-identifier">setlist_hash</span>[<span class="ruby-string">"displayName"</span>]
|
371
|
+
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">setlist_hash</span>[<span class="ruby-string">"id"</span>]
|
372
|
+
<span class="ruby-keyword">end</span></pre>
|
373
|
+
</div><!-- new-source -->
|
374
|
+
|
375
|
+
</div>
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
</div><!-- new-method -->
|
381
|
+
|
382
|
+
|
383
|
+
</div><!-- public-class-method-details -->
|
384
|
+
|
385
|
+
</div><!-- 5Buntitled-5D -->
|
386
|
+
|
387
|
+
|
388
|
+
</div><!-- documentation -->
|
389
|
+
|
390
|
+
<div id="validator-badges">
|
391
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
392
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
393
|
+
Rdoc Generator</a> 2</small>.</p>
|
394
|
+
</div>
|
395
|
+
|
396
|
+
</body>
|
397
|
+
</html>
|
398
|
+
|
@@ -0,0 +1,263 @@
|
|
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">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Class: Songkickr::SetlistItem</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
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>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body id="top" class="class">
|
19
|
+
|
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
|
+
|
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/setlist_item_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
+
class="thickbox" title="lib/songkickr/setlist_item.rb">lib/songkickr/setlist_item.rb</a></li>
|
39
|
+
|
40
|
+
</ul>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
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
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
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
|
+
</ul>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
</div>
|
76
|
+
|
77
|
+
<div id="project-metadata">
|
78
|
+
|
79
|
+
|
80
|
+
<div id="fileindex-section" class="section project-section">
|
81
|
+
<h3 class="section-header">Files</h3>
|
82
|
+
<ul>
|
83
|
+
|
84
|
+
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
|
85
|
+
|
86
|
+
<li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
|
87
|
+
|
88
|
+
</ul>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
<div id="classindex-section" class="section project-section">
|
93
|
+
<h3 class="section-header">Class/Module Index
|
94
|
+
<span class="search-toggle"><img src="../images/find.png"
|
95
|
+
height="16" width="16" alt="[+]"
|
96
|
+
title="show/hide quicksearch" /></span></h3>
|
97
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
98
|
+
<fieldset>
|
99
|
+
<legend>Quicksearch</legend>
|
100
|
+
<input type="text" name="quicksearch" value=""
|
101
|
+
class="quicksearch-field" />
|
102
|
+
</fieldset>
|
103
|
+
</form>
|
104
|
+
|
105
|
+
<ul class="link-list">
|
106
|
+
|
107
|
+
<li><a href="../Songkickr.html">Songkickr</a></li>
|
108
|
+
|
109
|
+
<li><a href="../Songkickr/Artist.html">Songkickr::Artist</a></li>
|
110
|
+
|
111
|
+
<li><a href="../Songkickr/ArtistResult.html">Songkickr::ArtistResult</a></li>
|
112
|
+
|
113
|
+
<li><a href="../Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a></li>
|
114
|
+
|
115
|
+
<li><a href="../Songkickr/Event.html">Songkickr::Event</a></li>
|
116
|
+
|
117
|
+
<li><a href="../Songkickr/EventResult.html">Songkickr::EventResult</a></li>
|
118
|
+
|
119
|
+
<li><a href="../Songkickr/Location.html">Songkickr::Location</a></li>
|
120
|
+
|
121
|
+
<li><a href="../Songkickr/LocationResult.html">Songkickr::LocationResult</a></li>
|
122
|
+
|
123
|
+
<li><a href="../Songkickr/Performance.html">Songkickr::Performance</a></li>
|
124
|
+
|
125
|
+
<li><a href="../Songkickr/Remote.html">Songkickr::Remote</a></li>
|
126
|
+
|
127
|
+
<li><a href="../Songkickr/Setlist.html">Songkickr::Setlist</a></li>
|
128
|
+
|
129
|
+
<li><a href="../Songkickr/SetlistItem.html">Songkickr::SetlistItem</a></li>
|
130
|
+
|
131
|
+
<li><a href="../Songkickr/Venue.html">Songkickr::Venue</a></li>
|
132
|
+
|
133
|
+
<li><a href="../APIKeyNotSet.html">APIKeyNotSet</a></li>
|
134
|
+
|
135
|
+
</ul>
|
136
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
<div id="documentation">
|
144
|
+
<h1 class="class">Songkickr::SetlistItem</h1>
|
145
|
+
|
146
|
+
<div id="description" class="description">
|
147
|
+
|
148
|
+
<p>A single set list item.</p>
|
149
|
+
|
150
|
+
<pre>{
|
151
|
+
encore: 0
|
152
|
+
name: "Anti Matter "
|
153
|
+
}</pre>
|
154
|
+
|
155
|
+
</div><!-- description -->
|
156
|
+
|
157
|
+
|
158
|
+
<div id="5Buntitled-5D" class="documentation-section">
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
<!-- Attributes -->
|
167
|
+
<div id="attribute-method-details" class="method-section section">
|
168
|
+
<h3 class="section-header">Attributes</h3>
|
169
|
+
|
170
|
+
|
171
|
+
<div id="encore-attribute-method" class="method-detail">
|
172
|
+
<a name="encore"></a>
|
173
|
+
|
174
|
+
<a name="encore="></a>
|
175
|
+
|
176
|
+
<div class="method-heading attribute-method-heading">
|
177
|
+
<span class="method-name">encore</span><span
|
178
|
+
class="attribute-access-type">[RW]</span>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
<div class="method-description">
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
</div>
|
186
|
+
</div>
|
187
|
+
|
188
|
+
<div id="name-attribute-method" class="method-detail">
|
189
|
+
<a name="name"></a>
|
190
|
+
|
191
|
+
<a name="name="></a>
|
192
|
+
|
193
|
+
<div class="method-heading attribute-method-heading">
|
194
|
+
<span class="method-name">name</span><span
|
195
|
+
class="attribute-access-type">[RW]</span>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
<div class="method-description">
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
</div>
|
203
|
+
</div>
|
204
|
+
|
205
|
+
</div><!-- attribute-method-details -->
|
206
|
+
|
207
|
+
|
208
|
+
<!-- Methods -->
|
209
|
+
|
210
|
+
<div id="public-class-method-details" class="method-section section">
|
211
|
+
<h3 class="section-header">Public Class Methods</h3>
|
212
|
+
|
213
|
+
|
214
|
+
<div id="new-method" class="method-detail ">
|
215
|
+
<a name="method-c-new"></a>
|
216
|
+
|
217
|
+
|
218
|
+
<div class="method-heading">
|
219
|
+
<span class="method-name">new</span><span
|
220
|
+
class="method-args">(setlist_item_hash)</span>
|
221
|
+
<span class="method-click-advice">click to toggle source</span>
|
222
|
+
</div>
|
223
|
+
|
224
|
+
|
225
|
+
<div class="method-description">
|
226
|
+
|
227
|
+
<p>Takes the set list item hash and parses a boolean out for encore.</p>
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
<div class="method-source-code" id="new-source">
|
232
|
+
<pre>
|
233
|
+
<span class="ruby-comment"># File lib/songkickr/setlist_item.rb, line 11</span>
|
234
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">setlist_item_hash</span>)
|
235
|
+
<span class="ruby-ivar">@encore</span> = <span class="ruby-operator">!</span><span class="ruby-operator">!</span><span class="ruby-identifier">setlist_item_hash</span>[<span class="ruby-string">"encore"</span>]
|
236
|
+
<span class="ruby-ivar">@name</span> = <span class="ruby-identifier">setlist_item_hash</span>[<span class="ruby-string">"name"</span>]
|
237
|
+
<span class="ruby-keyword">end</span></pre>
|
238
|
+
</div><!-- new-source -->
|
239
|
+
|
240
|
+
</div>
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
</div><!-- new-method -->
|
246
|
+
|
247
|
+
|
248
|
+
</div><!-- public-class-method-details -->
|
249
|
+
|
250
|
+
</div><!-- 5Buntitled-5D -->
|
251
|
+
|
252
|
+
|
253
|
+
</div><!-- documentation -->
|
254
|
+
|
255
|
+
<div id="validator-badges">
|
256
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
257
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
258
|
+
Rdoc Generator</a> 2</small>.</p>
|
259
|
+
</div>
|
260
|
+
|
261
|
+
</body>
|
262
|
+
</html>
|
263
|
+
|