<commit_before>module Neighborly::Balanced::Creditcard
  class Interface

    def name
      'balanced-creditcard'
    end

    def payment_path(contribution)
      Neighborly::Balanced::Creditcard::Engine.
        routes.url_helpers.new_payment_path(contribution_id: contribution)
    end

    def account_path
      false
    end

    def fee_calculator(value)
      TransactionAdditionalFeeCalculator.new(value)
    end
<commit_msg>Define payout class in gem's interface<commit_after>module Neighborly::Balanced::Creditcard
  class Interface

    def name
      'balanced-creditcard'
    end

    def payment_path(contribution)
      Neighborly::Balanced::Creditcard::Engine.
        routes.url_helpers.new_payment_path(contribution_id: contribution)
    end

    def account_path
      false
    end

    def fee_calculator(value)
      TransactionAdditionalFeeCalculator.new(value)
    end

    def payout_class
      Neighborly::Balanced::Payout
    end

{'fraction_non_alphanumeric': 0.065625, 'fraction_numerical': 0.0, 'mean_word_length': 3.3881278538812785, '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': '7651895', 'n_tokens_mistral': 308, 'n_tokens_neox': 280, 'n_words': 53}