<commit_before>require('active_support/dependencies')
require('httparty')
require('bigdecimal')

module BitcoinPayments
  module_function

  ZERO = BigDecimal.new(0)

  mattr_accessor(:server)
  @@server = {
    url: nil,
    username: nil,
    password: <PASSWORD>,
  }

  mattr_accessor(:minimum_amount)
  @@minimum_amount = BigDecimal.new('0.001')

  mattr_accessor(:default_transaction_count)
  @@default_transaction_count = 25

  mattr_accessor(:default_account)
  @@default_account = ''

  def setup
    yield(self)
  end

  def setup_model
    file = __FILE__
    binding.pry; raise
  end
end

require('bitcoin_payments/client')<commit_msg>use blocks for default values<commit_after>require('active_support/dependencies')
require('httparty')
require('bigdecimal')

module BitcoinPayments
  module_function

  ZERO = BigDecimal.new(0)

  mattr_accessor(:server) do
    {
      url: nil,
      username: nil,
      password: <PASSWORD>,
    }
  end
  mattr_accessor(:minimum_amount) { BigDecimal.new('0.001') }
  mattr_accessor(:default_transaction_count) { 25 }
  mattr_accessor(:default_account) { '' }

  def setup
    yield(self)
  end

  def setup_model
    file = __FILE__
    binding.pry; raise
  end
end

require('bitcoin_payments/client')
{'fraction_non_alphanumeric': 0.11022364217252396, 'fraction_numerical': 0.011182108626198083, 'mean_word_length': 4.309322033898305, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5865076', 'n_tokens_mistral': 445, 'n_tokens_neox': 416, 'n_words': 75}