Sha256: c9b893f50af529ecce8a21b08e6df77351eb65d1ab55a6b5ab44862ef834690d

Contents?: true

Size: 641 Bytes

Versions: 11

Compression:

Stored size: 641 Bytes

Contents

# typed: true
# frozen_string_literal: true

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

          private

          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/lock.rb
eml-2.1.7 lib/eml/uk/parameters/card/lock.rb
eml-2.1.6 lib/eml/uk/parameters/card/lock.rb
eml-2.1.5 lib/eml/uk/parameters/card/lock.rb
eml-2.1.4 lib/eml/uk/parameters/card/lock.rb
eml-2.1.3 lib/eml/uk/parameters/card/lock.rb
eml-2.1.2 lib/eml/uk/parameters/card/lock.rb
eml-2.1.1 lib/eml/uk/parameters/card/lock.rb
eml-2.1.0 lib/eml/uk/parameters/card/lock.rb
eml-2.0.0 lib/eml/uk/parameters/card/lock.rb
eml-1.0.0 lib/eml/uk/parameters/card/lock.rb