def buddies
      data = api('user.get_buddies')
      data['buddies'].map {|id| User.new(client, :_id => id)}
    end
def buddies
      data = api('user.get_buddies')
      data['buddies'].map {|id| User.new(client, :_id => id)}
    end
def buddies data = api ( 'user.get_buddies' ) data [ 'buddies' ] . map { | id | User . new ( client , :_id => id ) } end
Loads the list of users that are connected to the current user through a
 social network like Facebook or Twitter.

 @return [Array<Turntabler::User>]
 @raise [Turntabler::Error] if the command fails
 @example
   user.buddies    # => [#<Turntabler::User ...>, ...]
Loads the list of users that are connected to the current user through a social network like Facebook or Twitter .