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: pairs.rb
    path of file: ./repos/cryptoexchange/lib/cryptoexchange/exchanges/binance_jersey/services
    
    the code of the file until where you have to start completion: module Cryptoexchange::Exchanges
  module BinanceJersey
    module Services
      class Pairs < Cryptoexchange::Services::Pairs
        PAIRS_URL = "#{Cryptoexchange::Exchanges::BinanceJersey::Market::API_URL}/exchangeInfo"

        def fetch
          output = super
          adapt(output)
        end

        def adapt(output)
          market_pairs = []
          output["symbols"].each do |pair|
            base = pair["baseAsse
    
        def adapt(output)
          market_pairs = []
          output["symbols"].each do |pair|
            base = pair["baseAsset"]
            target = pair["quoteAsset"]
            next unless base && target
            market_pairs << Cryptoexchange::Models::MarketPair.new(
                              base: base,
                              target: target,
                              market: BinanceJersey::Market::NAME
                            )
          end
          market_pairs
        end