guilhermesad / rspotify

A ruby wrapper for the Spotify Web API
MIT License
717 stars 290 forks source link

error while trying to offset tracks #224

Closed gordielachance closed 4 years ago

gordielachance commented 4 years ago

Hi ! I'm trying to get the tracks of a playlist with an offset, but it returns an error :+1:

stracks = @playlist.tracks(100,offset)

wrong number of arguments (given 2, expected 0)

Am I missing something ? Thanks !!!

gordielachance commented 4 years ago

I just found out how to do it, anyway, thanks for your awesome gem !

stracks = @playlist.tracks(limit:100,offset:offset)