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.html
CHANGED
@@ -1,328 +1,261 @@
|
|
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">
|
6
|
+
|
7
|
+
<title>module Songkickr - RDoc Documentation</title>
|
7
8
|
|
8
|
-
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
9
10
|
|
10
|
-
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
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>
|
11
21
|
|
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
22
|
|
17
|
-
</head>
|
18
23
|
<body id="top" class="module">
|
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/artist.rb
|
51
|
+
<li>lib/songkickr/artist_result.rb
|
52
|
+
<li>lib/songkickr/concert_setlist_result.rb
|
53
|
+
<li>lib/songkickr/event.rb
|
54
|
+
<li>lib/songkickr/event_result.rb
|
55
|
+
<li>lib/songkickr/location.rb
|
56
|
+
<li>lib/songkickr/location_result.rb
|
57
|
+
<li>lib/songkickr/performance.rb
|
58
|
+
<li>lib/songkickr/remote.rb
|
59
|
+
<li>lib/songkickr/setlist.rb
|
60
|
+
<li>lib/songkickr/setlist_item.rb
|
61
|
+
<li>lib/songkickr/venue.rb
|
62
|
+
<li>lib/songkickr.rb
|
63
|
+
</ul>
|
64
|
+
</nav>
|
19
65
|
|
20
|
-
|
21
|
-
|
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/artist_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
-
class="thickbox" title="lib/songkickr/artist.rb">lib/songkickr/artist.rb</a></li>
|
39
|
-
|
40
|
-
<li><a href="./lib/songkickr/artist_result_rb.html?TB_iframe=true&height=550&width=785"
|
41
|
-
class="thickbox" title="lib/songkickr/artist_result.rb">lib/songkickr/artist_result.rb</a></li>
|
42
|
-
|
43
|
-
<li><a href="./lib/songkickr/concert_setlist_result_rb.html?TB_iframe=true&height=550&width=785"
|
44
|
-
class="thickbox" title="lib/songkickr/concert_setlist_result.rb">lib/songkickr/concert_setlist_result.rb</a></li>
|
45
|
-
|
46
|
-
<li><a href="./lib/songkickr/event_rb.html?TB_iframe=true&height=550&width=785"
|
47
|
-
class="thickbox" title="lib/songkickr/event.rb">lib/songkickr/event.rb</a></li>
|
48
|
-
|
49
|
-
<li><a href="./lib/songkickr/event_result_rb.html?TB_iframe=true&height=550&width=785"
|
50
|
-
class="thickbox" title="lib/songkickr/event_result.rb">lib/songkickr/event_result.rb</a></li>
|
51
|
-
|
52
|
-
<li><a href="./lib/songkickr/location_rb.html?TB_iframe=true&height=550&width=785"
|
53
|
-
class="thickbox" title="lib/songkickr/location.rb">lib/songkickr/location.rb</a></li>
|
54
|
-
|
55
|
-
<li><a href="./lib/songkickr/location_result_rb.html?TB_iframe=true&height=550&width=785"
|
56
|
-
class="thickbox" title="lib/songkickr/location_result.rb">lib/songkickr/location_result.rb</a></li>
|
57
|
-
|
58
|
-
<li><a href="./lib/songkickr/performance_rb.html?TB_iframe=true&height=550&width=785"
|
59
|
-
class="thickbox" title="lib/songkickr/performance.rb">lib/songkickr/performance.rb</a></li>
|
60
|
-
|
61
|
-
<li><a href="./lib/songkickr/remote_rb.html?TB_iframe=true&height=550&width=785"
|
62
|
-
class="thickbox" title="lib/songkickr/remote.rb">lib/songkickr/remote.rb</a></li>
|
63
|
-
|
64
|
-
<li><a href="./lib/songkickr/setlist_rb.html?TB_iframe=true&height=550&width=785"
|
65
|
-
class="thickbox" title="lib/songkickr/setlist.rb">lib/songkickr/setlist.rb</a></li>
|
66
|
-
|
67
|
-
<li><a href="./lib/songkickr/setlist_item_rb.html?TB_iframe=true&height=550&width=785"
|
68
|
-
class="thickbox" title="lib/songkickr/setlist_item.rb">lib/songkickr/setlist_item.rb</a></li>
|
69
|
-
|
70
|
-
<li><a href="./lib/songkickr/venue_rb.html?TB_iframe=true&height=550&width=785"
|
71
|
-
class="thickbox" title="lib/songkickr/venue.rb">lib/songkickr/venue.rb</a></li>
|
72
|
-
|
73
|
-
<li><a href="./lib/songkickr_rb.html?TB_iframe=true&height=550&width=785"
|
74
|
-
class="thickbox" title="lib/songkickr.rb">lib/songkickr.rb</a></li>
|
75
|
-
|
76
|
-
</ul>
|
77
|
-
</div>
|
78
|
-
</div>
|
66
|
+
|
67
|
+
</div>
|
79
68
|
|
80
|
-
|
81
|
-
|
69
|
+
<div id="class-metadata">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<!-- Method Quickref -->
|
74
|
+
<nav id="method-list-section" class="section">
|
75
|
+
<h3 class="section-header">Methods</h3>
|
82
76
|
|
83
|
-
|
84
|
-
|
77
|
+
<ul class="link-list">
|
78
|
+
|
79
|
+
<li><a href="#method-c-api_key">::api_key</a>
|
80
|
+
|
81
|
+
<li><a href="#method-c-api_key-3D">::api_key=</a>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
</nav>
|
85
85
|
|
86
|
-
|
86
|
+
</div>
|
87
87
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
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
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
<div id="fileindex-section" class="section project-section">
|
143
|
-
<h3 class="section-header">Files</h3>
|
144
|
-
<ul>
|
145
|
-
|
146
|
-
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
147
|
-
|
148
|
-
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
149
|
-
|
150
|
-
</ul>
|
151
|
-
</div>
|
152
|
-
|
153
|
-
|
154
|
-
<div id="classindex-section" class="section project-section">
|
155
|
-
<h3 class="section-header">Class/Module Index
|
156
|
-
<span class="search-toggle"><img src="./images/find.png"
|
157
|
-
height="16" width="16" alt="[+]"
|
158
|
-
title="show/hide quicksearch" /></span></h3>
|
159
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
160
|
-
<fieldset>
|
161
|
-
<legend>Quicksearch</legend>
|
162
|
-
<input type="text" name="quicksearch" value=""
|
163
|
-
class="quicksearch-field" />
|
164
|
-
</fieldset>
|
165
|
-
</form>
|
166
|
-
|
167
|
-
<ul class="link-list">
|
168
|
-
|
169
|
-
<li><a href="./Songkickr.html">Songkickr</a></li>
|
170
|
-
|
171
|
-
<li><a href="./Songkickr/Artist.html">Songkickr::Artist</a></li>
|
172
|
-
|
173
|
-
<li><a href="./Songkickr/ArtistResult.html">Songkickr::ArtistResult</a></li>
|
174
|
-
|
175
|
-
<li><a href="./Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a></li>
|
176
|
-
|
177
|
-
<li><a href="./Songkickr/Event.html">Songkickr::Event</a></li>
|
178
|
-
|
179
|
-
<li><a href="./Songkickr/EventResult.html">Songkickr::EventResult</a></li>
|
180
|
-
|
181
|
-
<li><a href="./Songkickr/Location.html">Songkickr::Location</a></li>
|
182
|
-
|
183
|
-
<li><a href="./Songkickr/LocationResult.html">Songkickr::LocationResult</a></li>
|
184
|
-
|
185
|
-
<li><a href="./Songkickr/Performance.html">Songkickr::Performance</a></li>
|
186
|
-
|
187
|
-
<li><a href="./Songkickr/Remote.html">Songkickr::Remote</a></li>
|
188
|
-
|
189
|
-
<li><a href="./Songkickr/Setlist.html">Songkickr::Setlist</a></li>
|
190
|
-
|
191
|
-
<li><a href="./Songkickr/SetlistItem.html">Songkickr::SetlistItem</a></li>
|
192
|
-
|
193
|
-
<li><a href="./Songkickr/Venue.html">Songkickr::Venue</a></li>
|
194
|
-
|
195
|
-
<li><a href="./APIKeyNotSet.html">APIKeyNotSet</a></li>
|
196
|
-
|
197
|
-
</ul>
|
198
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
199
|
-
</div>
|
88
|
+
<div id="project-metadata">
|
89
|
+
<nav id="fileindex-section" class="section project-section">
|
90
|
+
<h3 class="section-header">Pages</h3>
|
91
|
+
|
92
|
+
<ul>
|
93
|
+
|
94
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a>
|
95
|
+
|
96
|
+
<li class="file"><a href="./README_rdoc.html">README</a>
|
97
|
+
|
98
|
+
</ul>
|
99
|
+
</nav>
|
100
|
+
|
101
|
+
<nav id="classindex-section" class="section project-section">
|
102
|
+
<h3 class="section-header">Class and Module Index</h3>
|
103
|
+
|
104
|
+
<ul class="link-list">
|
105
|
+
|
106
|
+
<li><a href="./Songkickr.html">Songkickr</a>
|
107
|
+
|
108
|
+
<li><a href="./Songkickr/Artist.html">Songkickr::Artist</a>
|
109
|
+
|
110
|
+
<li><a href="./Songkickr/ArtistResult.html">Songkickr::ArtistResult</a>
|
111
|
+
|
112
|
+
<li><a href="./Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a>
|
113
|
+
|
114
|
+
<li><a href="./Songkickr/Event.html">Songkickr::Event</a>
|
115
|
+
|
116
|
+
<li><a href="./Songkickr/EventResult.html">Songkickr::EventResult</a>
|
117
|
+
|
118
|
+
<li><a href="./Songkickr/Location.html">Songkickr::Location</a>
|
119
|
+
|
120
|
+
<li><a href="./Songkickr/LocationResult.html">Songkickr::LocationResult</a>
|
121
|
+
|
122
|
+
<li><a href="./Songkickr/Performance.html">Songkickr::Performance</a>
|
123
|
+
|
124
|
+
<li><a href="./Songkickr/Remote.html">Songkickr::Remote</a>
|
125
|
+
|
126
|
+
<li><a href="./Songkickr/Setlist.html">Songkickr::Setlist</a>
|
127
|
+
|
128
|
+
<li><a href="./Songkickr/SetlistItem.html">Songkickr::SetlistItem</a>
|
129
|
+
|
130
|
+
<li><a href="./Songkickr/Venue.html">Songkickr::Venue</a>
|
131
|
+
|
132
|
+
<li><a href="./APIError.html">APIError</a>
|
133
|
+
|
134
|
+
<li><a href="./APIKeyNotSet.html">APIKeyNotSet</a>
|
135
|
+
|
136
|
+
<li><a href="./ResourceNotFound.html">ResourceNotFound</a>
|
137
|
+
|
138
|
+
</ul>
|
139
|
+
</nav>
|
200
140
|
|
201
|
-
|
202
|
-
</div>
|
203
141
|
</div>
|
142
|
+
</nav>
|
204
143
|
|
205
|
-
|
206
|
-
|
144
|
+
<div id="documentation">
|
145
|
+
<h1 class="module">module Songkickr</h1>
|
207
146
|
|
208
|
-
|
209
|
-
|
210
|
-
|
147
|
+
<div id="description" class="description">
|
148
|
+
|
149
|
+
</div><!-- description -->
|
211
150
|
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
212
155
|
|
213
|
-
<div id="5Buntitled-5D" class="documentation-section">
|
214
|
-
|
215
156
|
|
216
|
-
|
157
|
+
|
217
158
|
|
218
|
-
|
159
|
+
|
219
160
|
|
220
|
-
|
161
|
+
|
221
162
|
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
163
|
+
<!-- Methods -->
|
164
|
+
|
165
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
166
|
+
<h3 class="section-header">Public Class Methods</h3>
|
226
167
|
|
227
|
-
|
228
|
-
|
229
|
-
|
168
|
+
|
169
|
+
<div id="method-c-api_key" class="method-detail ">
|
170
|
+
|
171
|
+
<div class="method-heading">
|
172
|
+
<span class="method-name">api_key</span><span
|
173
|
+
class="method-args">()</span>
|
174
|
+
<span class="method-click-advice">click to toggle source</span>
|
175
|
+
</div>
|
176
|
+
|
230
177
|
|
178
|
+
<div class="method-description">
|
231
179
|
|
232
|
-
<
|
233
|
-
<span class="method-name">api_key</span><span
|
234
|
-
class="method-args">()</span>
|
235
|
-
<span class="method-click-advice">click to toggle source</span>
|
236
|
-
</div>
|
237
|
-
|
238
|
-
|
239
|
-
<div class="method-description">
|
240
|
-
|
241
|
-
<p>Returns the Songkick API key In order to use the Songkick API, you must
|
180
|
+
<p>Returns the Songkick API key In order to use the Songkick API, you must
|
242
181
|
have a Songkick API (their rule, not mine). Get an API key for your app
|
243
182
|
from <a href="http://developer.songkick.com/">developer.songkick.com/</a></p>
|
244
183
|
|
245
|
-
<h4>Example</h4>
|
184
|
+
<h4 id="method-c-api_key-label-Example">Example</h4>
|
246
185
|
|
247
|
-
<pre>require 'songkickr'
|
248
|
-
remote = Songkickr
|
249
|
-
remote
|
250
|
-
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</
|
251
|
-
|
186
|
+
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'songkickr'</span>
|
187
|
+
<span class="ruby-identifier">remote</span> = <span class="ruby-constant">Songkickr</span><span class="ruby-operator">::</span><span class="ruby-constant">Remote</span>.<span class="ruby-identifier">new</span> <span class="ruby-constant">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</span>
|
188
|
+
<span class="ruby-identifier">remote</span>.<span class="ruby-identifier">api_key</span>
|
189
|
+
<span class="ruby-constant">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</span>
|
190
|
+
</pre>
|
191
|
+
|
252
192
|
|
253
|
-
|
254
|
-
|
255
|
-
<pre>
|
256
|
-
<span class="ruby-comment"># File lib/songkickr.rb, line 37</span>
|
193
|
+
|
194
|
+
<div class="method-source-code" id="api_key-source">
|
195
|
+
<pre><span class="ruby-comment"># File lib/songkickr.rb, line 57</span>
|
257
196
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">api_key</span>
|
258
197
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">APIKeyNotSet</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@api_key</span>.<span class="ruby-identifier">nil?</span>
|
259
198
|
|
260
199
|
<span class="ruby-ivar">@api_key</span>
|
261
200
|
<span class="ruby-keyword">end</span></pre>
|
262
|
-
|
263
|
-
|
264
|
-
</div>
|
265
|
-
|
201
|
+
</div><!-- api_key-source -->
|
266
202
|
|
203
|
+
</div>
|
267
204
|
|
268
|
-
|
269
|
-
</div><!-- api_key-method -->
|
205
|
+
|
270
206
|
|
271
|
-
|
272
|
-
|
273
|
-
<a name="method-c-api_key-3D"></a>
|
207
|
+
|
208
|
+
</div><!-- api_key-method -->
|
274
209
|
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
210
|
+
|
211
|
+
<div id="method-c-api_key-3D" class="method-detail ">
|
212
|
+
|
213
|
+
<div class="method-heading">
|
214
|
+
<span class="method-name">api_key=</span><span
|
215
|
+
class="method-args">(api_key)</span>
|
216
|
+
<span class="method-click-advice">click to toggle source</span>
|
217
|
+
</div>
|
218
|
+
|
282
219
|
|
283
|
-
|
284
|
-
|
285
|
-
|
220
|
+
<div class="method-description">
|
221
|
+
|
222
|
+
<p>Set the API key. In the event you need to set the API key after
|
286
223
|
initializing the the remote.</p>
|
287
224
|
|
288
|
-
<h3>Parameters</h3>
|
225
|
+
<h3 id="method-c-api_key-3D-label-Parameters">Parameters</h3>
|
289
226
|
<ul><li>
|
290
|
-
<p><
|
291
|
-
|
227
|
+
<p><code>api_key</code> - A developer key from Songkick. Get an API key for
|
228
|
+
your app from <a
|
292
229
|
href="http://developer.songkick.com/">developer.songkick.com/</a></p>
|
293
230
|
</li></ul>
|
294
|
-
|
231
|
+
|
295
232
|
|
296
|
-
|
297
|
-
|
298
|
-
<pre>
|
299
|
-
<span class="ruby-comment"># File lib/songkickr.rb, line 47</span>
|
233
|
+
|
234
|
+
<div class="method-source-code" id="api_key-3D-source">
|
235
|
+
<pre><span class="ruby-comment"># File lib/songkickr.rb, line 67</span>
|
300
236
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">api_key=</span>(<span class="ruby-identifier">api_key</span>)
|
301
237
|
<span class="ruby-ivar">@api_key</span> = <span class="ruby-identifier">api_key</span>
|
302
238
|
<span class="ruby-keyword">end</span></pre>
|
303
|
-
|
304
|
-
|
305
|
-
</div>
|
306
|
-
|
239
|
+
</div><!-- api_key-3D-source -->
|
307
240
|
|
241
|
+
</div>
|
308
242
|
|
309
|
-
|
310
|
-
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
</div><!-- api_key-3D-method -->
|
311
247
|
|
312
|
-
|
313
|
-
</div><!-- public-class-method-details -->
|
314
248
|
|
315
|
-
</
|
249
|
+
</section><!-- public-class-method-details -->
|
316
250
|
|
251
|
+
</section><!-- 5Buntitled-5D -->
|
317
252
|
|
318
|
-
|
253
|
+
</div><!-- documentation -->
|
319
254
|
|
320
|
-
<div id="validator-badges">
|
321
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
322
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
323
|
-
Rdoc Generator</a> 2</small>.</p>
|
324
|
-
</div>
|
325
255
|
|
326
|
-
|
327
|
-
</
|
256
|
+
<footer id="validator-badges">
|
257
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
258
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
259
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
260
|
+
</footer>
|
328
261
|
|
data/doc/created.rid
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
Fri,
|
2
|
-
./
|
3
|
-
./lib/songkickr/
|
4
|
-
./lib/songkickr/
|
5
|
-
./
|
6
|
-
./lib/songkickr/
|
7
|
-
./lib/songkickr/
|
8
|
-
./lib/songkickr/location.rb
|
9
|
-
./lib/songkickr.rb
|
10
|
-
./lib/songkickr/
|
11
|
-
./
|
12
|
-
./lib/songkickr/
|
13
|
-
./lib/songkickr/
|
14
|
-
./lib/songkickr/
|
15
|
-
./lib/songkickr
|
16
|
-
./
|
1
|
+
Fri, 14 Sep 2012 12:08:49 +0100
|
2
|
+
./README.rdoc Mon, 20 Aug 2012 19:04:26 +0100
|
3
|
+
./lib/songkickr/artist.rb Mon, 20 Aug 2012 17:43:50 +0100
|
4
|
+
./lib/songkickr/artist_result.rb Tue, 21 Aug 2012 15:11:03 +0100
|
5
|
+
./lib/songkickr/concert_setlist_result.rb Mon, 20 Aug 2012 16:13:35 +0100
|
6
|
+
./lib/songkickr/event.rb Mon, 20 Aug 2012 16:11:31 +0100
|
7
|
+
./lib/songkickr/event_result.rb Mon, 20 Aug 2012 16:11:31 +0100
|
8
|
+
./lib/songkickr/location.rb Mon, 20 Aug 2012 16:11:31 +0100
|
9
|
+
./lib/songkickr/location_result.rb Mon, 20 Aug 2012 16:19:35 +0100
|
10
|
+
./lib/songkickr/performance.rb Mon, 20 Aug 2012 16:11:31 +0100
|
11
|
+
./lib/songkickr/remote.rb Fri, 14 Sep 2012 12:05:11 +0100
|
12
|
+
./lib/songkickr/setlist.rb Mon, 20 Aug 2012 16:11:31 +0100
|
13
|
+
./lib/songkickr/setlist_item.rb Mon, 20 Aug 2012 16:11:31 +0100
|
14
|
+
./lib/songkickr/venue.rb Mon, 20 Aug 2012 16:14:02 +0100
|
15
|
+
./lib/songkickr.rb Mon, 20 Aug 2012 17:06:43 +0100
|
16
|
+
./LICENSE Mon, 20 Aug 2012 16:11:31 +0100
|
data/doc/images/add.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|