Sha256: 866c40e2d36139b7a7e5a02e314e313eecdbfbcc104df787730c65a94332e579

Contents?: true

Size: 219 Bytes

Versions: 1

Compression:

Stored size: 219 Bytes

Contents

# http://audiobox.fm
# http://audiobox.fm/pages/oauth
class AudioBoxToken < OauthToken
  
  settings "https://audiobox.fm"
  
  key do |access_token|
    JSON.parse(access_token.get("/api/user.json").body)
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
passport-0.1.1 lib/passport/oauth/tokens/audio_box_token.rb