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: textbook_client.rb
    path of file: ./repos/yacs/pipelines/rpi/adapters/textbooks-rpi
    
    the code of the file until where you have to start completion: require 'nokogiri'
require 'httpclient'
require 'active_support'
require 'active_support/core_ext'

class TextbookClient

  def initialize efollet_client, term_shortname
    @http_client = HTTPClient.new
    @efollet_client = efollet_client
    @term
    
  def load_textbooks
    subjects = banner_listings_by_subject(@term_shortname).map do |subject|
      listings = []
      subject['listings'].each do |listing|
        if listing['sections'].present?
          crn = listing['sections'].first['crn']
          textbooks = get_textbooks_for_crn crn
          listings << {
            shortname: listing['shortname'],
            required_textbooks: textbooks[:required],
            recommended_textbooks: textbooks[:recommended]
          }
        end
      end
      { shortname: subject['shortname'], listings: listings }
    end