Sha256: 7276cfb15f26e551565644808dfa96f142e231b3b3c11aadd065839a555d724a
Contents?: true
Size: 704 Bytes
Versions: 3
Compression:
Stored size: 704 Bytes
Contents
# frozen_string_literal: true require 'dry-struct' require 'spy_alley_application/types/array_of_equipment' require 'spy_alley_application/types/coercible_integer_one_to_six' module SpyAlleyApplication module Results module Nodes class BuyEquipmentOptionNode < Dry::Struct @@can_handle_buy_equipment_option = ::Types.Interface(:handle_buy_equipment_option) attribute :options, SpyAlleyApplication::Types::ArrayOfEquipment attribute :limit, ::Types::CoercibleNonnegativeInteger def accept(visitor, **args) @can_handle_buy_equipment_option.(visitor) visitor.handle_buy_equipment_option(self, args) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems