lib/turntabler/avatar.rb
def set
      api('user.set_avatar', :avatarid => id)
      client.user.attributes = {'avatarid' => id}
      client.user.avatar.attributes = {'min' => minimum_points, 'acl' => acl}
      true
    end
def set
      api('user.set_avatar', :avatarid => id)
      client.user.attributes = {'avatarid' => id}
      client.user.avatar.attributes = {'min' => minimum_points, 'acl' => acl}
      true
    end
def set api ( 'user.set_avatar' , :avatarid => id ) client . user . attributes = { 'avatarid' => id } client . user . avatar . attributes = { 'min' => minimum_points , 'acl' => acl } true end
Updates the current user's avatar to this one.

 @return [true]
 @raise [Turntabler::Error] if the command fails
 @example
   avatar.set    # => true
Updates the current user s avatar to this one .