You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: client.rb
    path of file: ./repos/storyblok-ruby-client/lib/storyblok
    
    the code of the file until where you have to start completion: require_relative 'request'
require_relative 'links'

require 'storyblok/richtext'
require 'rest-client'
require 'logger'
require 'base64'
require 'json'

module Storyblok
  class Client
    DEFAULT_CONFIGURATION = {
      secure: true,
      api_version: 2,
      logger: false,
      log_level: Logger::INFO,
      version: 'draft',
      # :nocov:
      component_resolver: ->(co
    
      def find_and_fill_links(content, links)
        return if content.nil? || links.nil? || links.size.zero?

        if content.is_a? Array
          content.each do |item|
            find_and_fill_links(item, links)
          end
        elsif content.is_a? Hash
          content['story'] = nil
          content.each do |_k, value|
            if !content['fieldtype'].nil?
              if content['fieldtype'] == 'multilink' && content['linktype'] == 'story'
                id =
                  if content['id'].is_a? String
                    content['id']
                  elsif content['uuid'].is_a? String
                    content['uuid']
                  end

                links.each do |link|
                  if link['uuid'] == id
                    content['story'] = link
                    break
                  end
                end