Sha256: 1f2d39632f07d7c86182e41124492791843a32c45f07dbd715ed45d5b5d6dfc6

Contents?: true

Size: 626 Bytes

Versions: 11

Compression:

Stored size: 626 Bytes

Contents

# typed: true
# frozen_string_literal: true

module EML
  module UK
    class Parameters
      module Card
        class Register < ::EML::UK::Parameters
          REQUIRED_CONFIG = %i[program].freeze
          OPTIONAL_CONFIG = %i[search_parameter].freeze

          sig { params(program: String).returns(String) }
          attr_accessor :program

          sig { params(search_parameter: String).returns(String) }
          def search_parameter=(search_parameter)
            validate_search_parameter(search_parameter)
            @search_parameter = search_parameter
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
eml-2.1.8 lib/eml/uk/parameters/card/register.rb
eml-2.1.7 lib/eml/uk/parameters/card/register.rb
eml-2.1.6 lib/eml/uk/parameters/card/register.rb
eml-2.1.5 lib/eml/uk/parameters/card/register.rb
eml-2.1.4 lib/eml/uk/parameters/card/register.rb
eml-2.1.3 lib/eml/uk/parameters/card/register.rb
eml-2.1.2 lib/eml/uk/parameters/card/register.rb
eml-2.1.1 lib/eml/uk/parameters/card/register.rb
eml-2.1.0 lib/eml/uk/parameters/card/register.rb
eml-2.0.0 lib/eml/uk/parameters/card/register.rb
eml-1.0.0 lib/eml/uk/parameters/card/register.rb