Class: Ronnie::Client
- Inherits:
-
Object
- Object
- Ronnie::Client
- Includes:
- Authentication, Activities, Albums, Artists, Collections, Collections::Albums, Collections::Artists, Playlists, Tokens, Tracks, Users, Connection, Request
- Defined in:
- lib/ronnie/client.rb,
lib/ronnie/client/users.rb,
lib/ronnie/client/albums.rb,
lib/ronnie/client/tokens.rb,
lib/ronnie/client/tracks.rb,
lib/ronnie/client/artists.rb,
lib/ronnie/client/playlists.rb,
lib/ronnie/client/activities.rb,
lib/ronnie/client/collections.rb,
lib/ronnie/client/collections/albums.rb,
lib/ronnie/client/collections/artists.rb
Defined Under Namespace
Modules: Activities, Albums, Artists, Collections, Playlists, Tokens, Tracks, Users
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Users
#find_user, #follow, #followers, #following, #follows?, #search_users, #unfollow, #user
Methods included from Tracks
#find_tracks_by_artist, #find_tracks_by_isrc, #search_tracks, #top_tracks
Methods included from Tokens
Methods included from Playlists
#add_tracks_to_playlist, #create_playlist, #delete_playlist, #disable_collaboration, #enable_public_collaboration, #enable_restricted_collaboration, #playlist, #playlists, #remove_tracks_from_playlist, #search_playlists, #top_playlists, #update_playlist
Methods included from Collections
#add_playlists_to_collection, #add_tracks_to_collection, #remove_playlists_from_collection, #remove_tracks_from_collection, #sync_playlists, #sync_tracks, #unsync_playlists, #unsync_tracks
Methods included from Artists
#find_artists_by_label, #heavily_rotated_artists, #search_artists, #top_artists
Methods included from Albums
#album, #find_albums_by_artist, #find_albums_by_label, #find_albums_by_upc, #heavily_rotated_albums, #new_releases, #search_albums, #top_albums
Methods included from Activities
Methods included from Request
Methods included from Connection
Methods included from Authentication
#authenticate, #authenticated?, #authorize, #authorized?
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
20 21 22 23 24 25 26 |
# File 'lib/ronnie/client.rb', line 20 def initialize(={}) = Ronnie..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |