Skip to content

Instantly share code, notes, and snippets.

@RachelSa
Created March 2, 2017 19:19
Show Gist options
  • Save RachelSa/d15b0fa0c34beb6bbb94a0aaacdce31f to your computer and use it in GitHub Desktop.
Save RachelSa/d15b0fa0c34beb6bbb94a0aaacdce31f to your computer and use it in GitHub Desktop.
tracks = RestClient.get(query_url, {"Authorization": "Bearer #{parsed_token["access_token"]}"})
parsed_tracks = JSON.parse(tracks)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment