<commit_before>require 'elasticsnap/verify_es_cluster_status'
require 'elasticsnap/freeze_elasticsearch'
require 'elasticsnap/freeze_fs'
require 'elasticsnap/ebs_snapshot'

module Elasticsnap
  class Snapshot
    attr_accessor :url
    attr_accessor :volume

    def initialize(url: nil, volume: nil)
      raise ArgumentError, "url required" if url.nil?
      raise ArgumentError, "volume required" if volume.nil?
    end<commit_msg>Actually assign the variables in Snapshot<commit_after>require 'elasticsnap/verify_es_cluster_status'
require 'elasticsnap/freeze_elasticsearch'
require 'elasticsnap/freeze_fs'
require 'elasticsnap/ebs_snapshot'

module Elasticsnap
  class Snapshot
    attr_accessor :url
    attr_accessor :volume

    def initialize(url: nil, volume: nil)
      raise ArgumentError, "url required" if url.nil?
      raise ArgumentError, "volume required" if volume.nil?

      @url = url
      @volume = volume
    end
{'fraction_non_alphanumeric': 0.07257203842049093, 'fraction_numerical': 0.0, 'mean_word_length': 4.616766467065868, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '6858283', 'n_tokens_mistral': 305, 'n_tokens_neox': 284, 'n_words': 76}