Class: EML::UK::Parameters::Card::Activation

Inherits:
EML::UK::Parameters show all
Defined in:
lib/eml/uk/parameters/card/activation.rb

Constant Summary collapse

REQUIRED_CONFIG =
T.let(%i[program].freeze, T::Array[Symbol])
OPTIONAL_CONFIG =
T.let(%i[search_parameter].freeze, T::Array[Symbol])

Constants inherited from Parameters

Parameters::ENDPOINT_CLASS_TYPE

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from EML::UK::Parameters

convert, #initialize

Methods inherited from Parameters

convert, #initialize, #to_h

Constructor Details

This class inherits a constructor from EML::UK::Parameters

Instance Attribute Details

#programObject

Returns the value of attribute program.



13
14
15
# File 'lib/eml/uk/parameters/card/activation.rb', line 13

def program
  @program
end

Instance Method Details

#search_parameter=(search_parameter) ⇒ Object



16
17
18
19
# File 'lib/eml/uk/parameters/card/activation.rb', line 16

def search_parameter=(search_parameter)
  validate_search_parameter(search_parameter)
  @search_parameter = search_parameter
end