songkickr 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +6 -2
- data/Gemfile.lock +32 -10
- data/README.rdoc +7 -7
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/bin/autospec +16 -0
- data/bin/convert_to_should_syntax +16 -0
- data/bin/guard +16 -0
- data/bin/htmldiff +16 -0
- data/bin/httparty +16 -0
- data/bin/jeweler +16 -0
- data/bin/ldiff +16 -0
- data/bin/rake +16 -0
- data/bin/rake2thor +16 -0
- data/bin/rg +16 -0
- data/bin/ri +16 -0
- data/bin/rspec +16 -0
- data/bin/thor +16 -0
- data/doc/APIError.html +241 -0
- data/doc/APIKeyNotSet.html +164 -175
- data/doc/LICENSE.html +109 -109
- data/doc/README_rdoc.html +120 -117
- data/doc/ResourceNotFound.html +203 -0
- data/doc/Songkickr/Artist.html +210 -237
- data/doc/Songkickr/ArtistResult.html +228 -254
- data/doc/Songkickr/ConcertSetlistResult.html +205 -223
- data/doc/Songkickr/Event.html +344 -409
- data/doc/Songkickr/EventResult.html +226 -252
- data/doc/Songkickr/Location.html +210 -237
- data/doc/Songkickr/LocationResult.html +229 -255
- data/doc/Songkickr/Performance.html +222 -253
- data/doc/Songkickr/Remote.html +630 -481
- data/doc/Songkickr/Setlist.html +258 -296
- data/doc/Songkickr/SetlistItem.html +187 -206
- data/doc/Songkickr/Venue.html +205 -232
- data/doc/Songkickr.html +204 -271
- data/doc/created.rid +16 -16
- data/doc/images/add.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/index.html +93 -127
- data/doc/js/darkfish.js +99 -62
- data/doc/js/jquery.js +15 -29
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +119 -339
- data/doc/table_of_contents.html +185 -0
- data/lib/songkickr/artist.rb +3 -3
- data/lib/songkickr/remote.rb +36 -13
- data/lib/songkickr.rb +16 -2
- data/songkickr.gemspec +121 -4
- data/test/fixtures/vcr/invalid_api_key.yml +63 -0
- data/test/fixtures/vcr/invalid_event_id.yml +33 -0
- data/test/fixtures/vcr/invalid_user.yml +32 -0
- data/test/fixtures/vcr/invalid_venue_id.yml +33 -0
- data/test/fixtures/vcr/valid_event.yml +52 -0
- data/test/fixtures/vcr/valid_user.yml +71 -0
- data/test/fixtures/vcr/valid_venue.yml +53 -0
- data/test/helper.rb +2 -2
- data/test/songkickr/test_remote.rb +68 -24
- data/test/vcr_helper.rb +7 -0
- data/test.rb +2 -2
- metadata +626 -40
data/doc/Songkickr/Setlist.html
CHANGED
@@ -1,152 +1,145 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
5
4
|
<head>
|
6
|
-
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
7
6
|
|
8
|
-
|
7
|
+
<title>class Songkickr::Setlist - RDoc Documentation</title>
|
9
8
|
|
10
|
-
|
9
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
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
|
-
|
18
|
-
<
|
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
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
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/setlist.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
43
53
|
|
44
|
-
|
45
|
-
|
54
|
+
|
55
|
+
</div>
|
46
56
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
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_setlist_items">#parse_setlist_items</a>
|
76
|
+
|
77
|
+
</ul>
|
78
|
+
</nav>
|
61
79
|
|
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
|
-
|
80
|
+
</div>
|
75
81
|
|
76
|
-
|
77
|
-
|
82
|
+
<div id="project-metadata">
|
83
|
+
<nav id="fileindex-section" class="section project-section">
|
84
|
+
<h3 class="section-header">Pages</h3>
|
78
85
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
<li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
|
89
|
-
|
90
|
-
</ul>
|
91
|
-
</div>
|
92
|
-
|
86
|
+
<ul>
|
87
|
+
|
88
|
+
<li class="file"><a href="../LICENSE.html">LICENSE</a>
|
89
|
+
|
90
|
+
<li class="file"><a href="../README_rdoc.html">README</a>
|
91
|
+
|
92
|
+
</ul>
|
93
|
+
</nav>
|
93
94
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
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>
|
95
|
+
<nav id="classindex-section" class="section project-section">
|
96
|
+
<h3 class="section-header">Class and Module Index</h3>
|
97
|
+
|
98
|
+
<ul class="link-list">
|
99
|
+
|
100
|
+
<li><a href="../Songkickr.html">Songkickr</a>
|
101
|
+
|
102
|
+
<li><a href="../Songkickr/Artist.html">Songkickr::Artist</a>
|
103
|
+
|
104
|
+
<li><a href="../Songkickr/ArtistResult.html">Songkickr::ArtistResult</a>
|
105
|
+
|
106
|
+
<li><a href="../Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a>
|
107
|
+
|
108
|
+
<li><a href="../Songkickr/Event.html">Songkickr::Event</a>
|
109
|
+
|
110
|
+
<li><a href="../Songkickr/EventResult.html">Songkickr::EventResult</a>
|
111
|
+
|
112
|
+
<li><a href="../Songkickr/Location.html">Songkickr::Location</a>
|
113
|
+
|
114
|
+
<li><a href="../Songkickr/LocationResult.html">Songkickr::LocationResult</a>
|
115
|
+
|
116
|
+
<li><a href="../Songkickr/Performance.html">Songkickr::Performance</a>
|
117
|
+
|
118
|
+
<li><a href="../Songkickr/Remote.html">Songkickr::Remote</a>
|
119
|
+
|
120
|
+
<li><a href="../Songkickr/Setlist.html">Songkickr::Setlist</a>
|
121
|
+
|
122
|
+
<li><a href="../Songkickr/SetlistItem.html">Songkickr::SetlistItem</a>
|
123
|
+
|
124
|
+
<li><a href="../Songkickr/Venue.html">Songkickr::Venue</a>
|
125
|
+
|
126
|
+
<li><a href="../APIError.html">APIError</a>
|
127
|
+
|
128
|
+
<li><a href="../APIKeyNotSet.html">APIKeyNotSet</a>
|
129
|
+
|
130
|
+
<li><a href="../ResourceNotFound.html">ResourceNotFound</a>
|
131
|
+
|
132
|
+
</ul>
|
133
|
+
</nav>
|
140
134
|
|
141
|
-
|
142
|
-
</div>
|
143
135
|
</div>
|
136
|
+
</nav>
|
144
137
|
|
145
|
-
|
146
|
-
|
138
|
+
<div id="documentation">
|
139
|
+
<h1 class="class">class Songkickr::Setlist</h1>
|
147
140
|
|
148
|
-
|
149
|
-
|
141
|
+
<div id="description" class="description">
|
142
|
+
|
150
143
|
<p>A single set list by an artist.</p>
|
151
144
|
|
152
145
|
<p>{</p>
|
@@ -168,154 +161,129 @@
|
|
168
161
|
|
169
162
|
<p>}</p>
|
170
163
|
|
171
|
-
|
164
|
+
</div><!-- description -->
|
172
165
|
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
173
170
|
|
174
|
-
<div id="5Buntitled-5D" class="documentation-section">
|
175
|
-
|
176
171
|
|
177
|
-
|
172
|
+
|
178
173
|
|
179
|
-
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
<!-- Attributes -->
|
178
|
+
<section id="attribute-method-details" class="method-section section">
|
179
|
+
<h3 class="section-header">Attributes</h3>
|
180
180
|
|
181
181
|
|
182
|
-
|
183
|
-
|
184
|
-
|
182
|
+
<div id="attribute-i-artist" class="method-detail">
|
183
|
+
<div class="method-heading attribute-method-heading">
|
184
|
+
<span class="method-name">artist</span><span
|
185
|
+
class="attribute-access-type">[RW]</span>
|
186
|
+
</div>
|
185
187
|
|
188
|
+
<div class="method-description">
|
186
189
|
|
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
190
|
|
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
191
|
|
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
192
|
</div>
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
<
|
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>
|
193
|
+
</div>
|
194
|
+
|
195
|
+
<div id="attribute-i-display_name" class="method-detail">
|
196
|
+
<div class="method-heading attribute-method-heading">
|
197
|
+
<span class="method-name">display_name</span><span
|
198
|
+
class="attribute-access-type">[RW]</span>
|
253
199
|
</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
200
|
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
</div>
|
270
|
-
</div>
|
201
|
+
<div class="method-description">
|
271
202
|
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
203
|
+
|
204
|
+
|
205
|
+
</div>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
<div id="attribute-i-event" class="method-detail">
|
209
|
+
<div class="method-heading attribute-method-heading">
|
210
|
+
<span class="method-name">event</span><span
|
211
|
+
class="attribute-access-type">[RW]</span>
|
212
|
+
</div>
|
281
213
|
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
</div>
|
214
|
+
<div class="method-description">
|
215
|
+
|
216
|
+
|
217
|
+
|
287
218
|
</div>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
<div id="attribute-i-id" class="method-detail">
|
222
|
+
<div class="method-heading attribute-method-heading">
|
223
|
+
<span class="method-name">id</span><span
|
224
|
+
class="attribute-access-type">[RW]</span>
|
225
|
+
</div>
|
226
|
+
|
227
|
+
<div class="method-description">
|
228
|
+
|
229
|
+
|
288
230
|
|
289
|
-
|
231
|
+
</div>
|
232
|
+
</div>
|
290
233
|
|
234
|
+
<div id="attribute-i-playlist_uri" class="method-detail">
|
235
|
+
<div class="method-heading attribute-method-heading">
|
236
|
+
<span class="method-name">playlist_uri</span><span
|
237
|
+
class="attribute-access-type">[RW]</span>
|
238
|
+
</div>
|
291
239
|
|
292
|
-
|
240
|
+
<div class="method-description">
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
</div>
|
245
|
+
</div>
|
293
246
|
|
294
|
-
<div id="
|
295
|
-
<
|
247
|
+
<div id="attribute-i-setlist_items" class="method-detail">
|
248
|
+
<div class="method-heading attribute-method-heading">
|
249
|
+
<span class="method-name">setlist_items</span><span
|
250
|
+
class="attribute-access-type">[RW]</span>
|
251
|
+
</div>
|
296
252
|
|
253
|
+
<div class="method-description">
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
</div>
|
258
|
+
</div>
|
297
259
|
|
298
|
-
|
299
|
-
|
260
|
+
</section><!-- attribute-method-details -->
|
261
|
+
|
300
262
|
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
263
|
+
<!-- Methods -->
|
264
|
+
|
265
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
266
|
+
<h3 class="section-header">Public Class Methods</h3>
|
267
|
+
|
268
|
+
|
269
|
+
<div id="method-c-new" class="method-detail ">
|
270
|
+
|
271
|
+
<div class="method-heading">
|
272
|
+
<span class="method-name">new</span><span
|
273
|
+
class="method-args">(setlist_hash)</span>
|
274
|
+
<span class="method-click-advice">click to toggle source</span>
|
275
|
+
</div>
|
276
|
+
|
308
277
|
|
309
|
-
|
310
|
-
|
311
|
-
|
278
|
+
<div class="method-description">
|
279
|
+
|
280
|
+
<p>Takes the setlist hash and parses out an <a href="Event.html">Event</a> and
|
312
281
|
<a href="Artist.html">Artist</a> and an array of SetlistItems.</p>
|
313
|
-
|
282
|
+
|
314
283
|
|
315
|
-
|
316
|
-
|
317
|
-
<pre>
|
318
|
-
<span class="ruby-comment"># File lib/songkickr/setlist.rb, line 24</span>
|
284
|
+
|
285
|
+
<div class="method-source-code" id="new-source">
|
286
|
+
<pre><span class="ruby-comment"># File lib/songkickr/setlist.rb, line 24</span>
|
319
287
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">setlist_hash</span>)
|
320
288
|
<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>]
|
321
289
|
<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>]
|
@@ -324,42 +292,39 @@
|
|
324
292
|
<span class="ruby-ivar">@display_name</span> = <span class="ruby-identifier">setlist_hash</span>[<span class="ruby-string">"displayName"</span>]
|
325
293
|
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">setlist_hash</span>[<span class="ruby-string">"id"</span>]
|
326
294
|
<span class="ruby-keyword">end</span></pre>
|
327
|
-
|
328
|
-
|
329
|
-
</div>
|
330
|
-
|
295
|
+
</div><!-- new-source -->
|
331
296
|
|
297
|
+
</div>
|
332
298
|
|
333
|
-
|
334
|
-
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
</div><!-- new-method -->
|
335
303
|
|
336
|
-
|
337
|
-
</div><!-- public-class-method-details -->
|
338
304
|
|
339
|
-
|
340
|
-
|
305
|
+
</section><!-- public-class-method-details -->
|
306
|
+
|
307
|
+
<section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
|
308
|
+
<h3 class="section-header">Protected Instance Methods</h3>
|
341
309
|
|
342
|
-
|
343
|
-
|
344
|
-
|
310
|
+
|
311
|
+
<div id="method-i-parse_setlist_items" class="method-detail ">
|
312
|
+
|
313
|
+
<div class="method-heading">
|
314
|
+
<span class="method-name">parse_setlist_items</span><span
|
315
|
+
class="method-args">(setlist_item_array = nil)</span>
|
316
|
+
<span class="method-click-advice">click to toggle source</span>
|
317
|
+
</div>
|
318
|
+
|
345
319
|
|
320
|
+
<div class="method-description">
|
346
321
|
|
347
|
-
<
|
348
|
-
<span class="method-name">parse_setlist_items</span><span
|
349
|
-
class="method-args">(setlist_item_array = nil)</span>
|
350
|
-
<span class="method-click-advice">click to toggle source</span>
|
351
|
-
</div>
|
322
|
+
<p>Takes the array of setlist items and create SetLists</p>
|
352
323
|
|
353
324
|
|
354
|
-
|
355
|
-
|
356
|
-
<
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
<div class="method-source-code" id="parse_setlist_items-source">
|
361
|
-
<pre>
|
362
|
-
<span class="ruby-comment"># File lib/songkickr/setlist.rb, line 36</span>
|
325
|
+
|
326
|
+
<div class="method-source-code" id="parse_setlist_items-source">
|
327
|
+
<pre><span class="ruby-comment"># File lib/songkickr/setlist.rb, line 36</span>
|
363
328
|
<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>)
|
364
329
|
<span class="ruby-identifier">setlist_items</span> = []
|
365
330
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">setlist_item_array</span>
|
@@ -370,29 +335,26 @@
|
|
370
335
|
|
371
336
|
<span class="ruby-identifier">setlist_items</span>
|
372
337
|
<span class="ruby-keyword">end</span></pre>
|
373
|
-
|
374
|
-
|
375
|
-
</div>
|
376
|
-
|
338
|
+
</div><!-- parse_setlist_items-source -->
|
377
339
|
|
340
|
+
</div>
|
378
341
|
|
379
|
-
|
380
|
-
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
</div><!-- parse_setlist_items-method -->
|
381
346
|
|
382
|
-
|
383
|
-
</div><!-- protected-instance-method-details -->
|
384
347
|
|
385
|
-
</
|
348
|
+
</section><!-- protected-instance-method-details -->
|
386
349
|
|
350
|
+
</section><!-- 5Buntitled-5D -->
|
387
351
|
|
388
|
-
|
352
|
+
</div><!-- documentation -->
|
389
353
|
|
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
354
|
|
396
|
-
|
397
|
-
</
|
355
|
+
<footer id="validator-badges">
|
356
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
357
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
358
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
359
|
+
</footer>
|
398
360
|
|