Sha256: 0fe93a04d12084dedfc6c768a614407cb0a324ceb4528dfacbb97c14dca3a3a9

Contents?: true

Size: 643 Bytes

Versions: 22

Compression:

Stored size: 643 Bytes

Contents

# typed: true
# frozen_string_literal: true

module EML
  module UK
    class Parameters
      module Card
        class Unlock < ::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

22 entries across 11 versions & 1 rubygems

Version Path
eml-1.0.0 lib/eml/uk/parameters/card/void.rb
eml-1.0.0 lib/eml/uk/parameters/card/unlock.rb