Class: EML::UK::TNS::ProcessRequest
- Inherits:
-
Object
- Object
- EML::UK::TNS::ProcessRequest
- Extended by:
- T::Sig
- Defined in:
- lib/eml/uk/tns/process_request.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(auth_token, parameters) ⇒ ProcessRequest
constructor
A new instance of ProcessRequest.
Constructor Details
#initialize(auth_token, parameters) ⇒ ProcessRequest
Returns a new instance of ProcessRequest.
26 27 28 29 30 |
# File 'lib/eml/uk/tns/process_request.rb', line 26 def initialize(auth_token, parameters) @auth_token = T.let(auth_token || "", String) @parameters = T.let(parameters, T::Hash[String, T.untyped]) @credentials = T.let(nil, T.nilable(T::Hash[Symbol, T.untyped])) end |
Class Method Details
.call(auth_token, parameters) ⇒ Object
16 17 18 |
# File 'lib/eml/uk/tns/process_request.rb', line 16 def self.call(auth_token, parameters) new(auth_token, parameters).call end |