Sha256: 06eeac5d92d691ad5404b6a834d8b357e7a11681cd9b7fa133ec5e9fd7c671d3

Contents?: true

Size: 680 Bytes

Versions: 2

Compression:

Stored size: 680 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module EML
  module UK
    class Parameters
      module Card
        class Lock < ::EML::UK::Parameters
          REQUIRED_CONFIG = T.let(%i[program].freeze, T::Array[Symbol])
          OPTIONAL_CONFIG = T.let(%i[search_parameter].freeze, T::Array[Symbol])

          private

          sig { returns(T.nilable(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

2 entries across 2 versions & 1 rubygems

Version Path
eml-3.0.0 lib/eml/uk/parameters/card/lock.rb
eml-2.2.0 lib/eml/uk/parameters/card/lock.rb