<commit_before>module TradoPaypalModule
    module ActiveRecord
        extend ActiveSupport::Concern

        module ClassMethods
            def has_order_paypal
                scope :paypal, -> { completed_collection.where(transactions: { payment_type: 'express-checkout' }) }

                def paypal?
                    payment_type == 'paypal' ? true : false
                end
            end

            def has_transation_paypal
                attr_accessible :paypal_id
            end

            def has_store_setting_paypal
                attr_accessible :paypal_currency_code

                validates :paypal_currency_code, presence: true
            end
        end
    end
end<commit_msg>Fixed activerecord class method typo and updated readme.<commit_after>module TradoPaypalModule
    module ActiveRecord
        extend ActiveSupport::Concern

        module ClassMethods
            def has_order_paypal
                scope :paypal, -> { completed_collection.where(transactions: { payment_type: 'express-checkout' }) }

                def paypal?
                    payment_type == 'paypal' ? true : false
                end
            end

            def has_transaction_paypal
                attr_accessible :paypal_id
            end

            def has_store_setting_paypal
                attr_accessible :paypal_currency_code

                validates :paypal_currency_code, presence: true
            end
        end
    end
end
{'fraction_non_alphanumeric': 0.04539295392953929, 'fraction_numerical': 0.0, 'mean_word_length': 1.6422182468694098, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1546935', 'n_tokens_mistral': 382, 'n_tokens_neox': 349, 'n_words': 86}