<commit_before><commit_msg>add change customer login<commit_after>class PleskLib::Actions::ChangeCustomerLogin < PleskLib::Actions::Base
  attr_reader :customer, :new_login

  def initialize(customer, new_login)
    @customer = customer
    @new_login = new_login
  end

  def build_xml
    xml = Builder::XmlMarkup.new
    xml.instruct!
    xml.packet {
      xml.customer {
        xml.set{
          xml.filter{
            xml.login(@customer.login)
          }
          xml.values{
            xml.gen_info{
              xml.login(@new_login)
            }
          }
        }
      }
    }
  end
end
{'fraction_non_alphanumeric': 0.09523809523809523, 'fraction_numerical': 0.0, 'mean_word_length': 1.9186602870813396, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 11}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3946082', 'n_tokens_mistral': 188, 'n_tokens_neox': 185, 'n_words': 32}