Sha256: 9afdbac67d158d905d07b3ee9f749119f69cef1a1c025d44801a8cdfafd8d2e7
Contents?: true
Size: 334 Bytes
Versions: 4
Compression:
Stored size: 334 Bytes
Contents
# frozen_string_literal: true module SolidusGraphqlApi module Queries module Taxon class ParentTaxonQuery attr_reader :taxon def initialize(taxon:) @taxon = taxon end def call SolidusGraphqlApi::BatchLoader.for(taxon, :parent) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems