<commit_before>module FoxySync::Api
  #
  # Intended for subclassing, +Base+ forms the foundation
  # for ::Api:: classes that wrap an ::Api::Response object
  # to provide behavior around specific data in the +Response+
  class Base
    attr_accessor :api_response

    #
    # [_api_response_]
    #   A +FoxySync::Api::Response+ instance
    def initialize(api_response)
      self.api_response = api_response
    end

    #
    # Delegates to #api_response
    def respond_to?(method_name, include_private = false)
      api_response.respond_to? method_name, include_private
    end


    private

    def method_missing(method_name, *args, &block)
      api_response.send method_name, *args
    end


    def fc_api
      @_fc_api ||= FoxySync::Api::Messenger.new
    end
  end
end<commit_msg>should let super do its thing in #respond_to? before delegating to api_response<commit_after>module FoxySync::Api
  #
  # Intended for subclassing, +Base+ forms the foundation
  # for ::Api:: classes that wrap an ::Api::Response object
  # to provide behavior around specific data in the +Response+
  class Base
    attr_accessor :api_response

    #
    # [_api_response_]
    #   A +FoxySync::Api::Response+ instance
    def initialize(api_response)
      self.api_response = api_response
    end

    #
    # Delegates to #api_response
    def respond_to?(method_name, include_private = false)
      super || api_response.respond_to?(method_name, include_private)
    end


    private

    def method_missing(method_name, *args, &block)
      api_response.send method_name, *args
    end


    def fc_api
      @_fc_api ||= FoxySync::Api::Messenger.new
    end
  end
end
{'fraction_non_alphanumeric': 0.08373205741626795, 'fraction_numerical': 0.0, 'mean_word_length': 3.3454545454545452, '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': '2455331', 'n_tokens_mistral': 536, 'n_tokens_neox': 518, 'n_words': 142}