module Gamertag::Client::Friends

Public Instance Methods

friends(gamertag) click to toggle source

Retrieve the friends of the user

@see www.xboxleaders.com/examples/#friends @param gamertag [String] User’s gamertag @return [Array<Hashie::Mash>] A list of friends

# File lib/gamertag/client/friends.rb, line 9
def friends(gamertag)
  get('/friends.json', :gamertag => gamertag).data.friends
end