Class: Dance::Client
- Inherits:
-
Object
show all
- Includes:
- HTTParty
- Defined in:
- lib/dance/client.rb
Instance Method Summary
collapse
Constructor Details
#initialize(key) ⇒ Client
Returns a new instance of Client.
7
8
9
|
# File 'lib/dance/client.rb', line 7
def initialize(key)
self.class.default_params :api_key => key
end
|
Instance Method Details
#artists ⇒ Object
11
12
13
|
# File 'lib/dance/client.rb', line 11
def artists
Artists
end
|
#genres ⇒ Object
15
16
17
|
# File 'lib/dance/client.rb', line 15
def genres
Genres
end
|
#tracks ⇒ Object
23
24
25
|
# File 'lib/dance/client.rb', line 23
def tracks
Tracks
end
|
#users ⇒ Object
19
20
21
|
# File 'lib/dance/client.rb', line 19
def users
Users
end
|