Sha256: 99c94fe67e2e3b47f86318bc6d2645b9bad0dc56a978f8dae023948e1647cb84

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 Bytes

Contents

# frozen string literal: true

require 'dry-struct'

module SpyAlleyApplication
  module Models
    module AcquisitionMethod
      class BySellingTopSecretInformation < Dry::Struct
        @@can_handle_by_selling_top_secret_information =
          ::Types.Interface(:handle_by_selling_top_secret_information)
        attribute :name, ::Types.Value('by_selling_top_secret_information')

        def accept(visitor, **args)
          @can_handle_by_selling_top_secret_information.(visitor)
          visitor.handle_by_selling_top_secret_information(self, args)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spy_alley_application-0.3.2 lib/spy_alley_application/models/acquisition_method/by_selling_top_secret_information.rb
spy_alley_application-0.3.1 lib/spy_alley_application/models/acquisition_method/by_selling_top_secret_information.rb
spy_alley_application-0.3.0 lib/spy_alley_application/models/acquisition_method/by_selling_top_secret_information.rb