def update( params={ })
      normalize! params
      filter! DEFAULT_USER_OPTIONS, params

      put_request("/1.0/user", DEFAULT_USER_OPTIONS.merge(params))

    end
def update( params={ })
      normalize! params
      filter! DEFAULT_USER_OPTIONS, params

      put_request("/1.0/user", DEFAULT_USER_OPTIONS.merge(params))

    end
Update a user
 = Parameters
 * <tt>:first_name</tt>    Optional string
 * <tt>:last_name</tt>     Optional string
 * <tt>:avatar</tt>        Optional string
 * <tt>:resource_uri</tt>  Optional string

 = Examples

  bitbucket = BitBucket.new
  bitbucket.user_api.update :first_name => 'first-name', :last_name => 'last-name'