Class: Moxml::Signature::Model::AlgorithmMethod
- Inherits:
-
Object
- Object
- Moxml::Signature::Model::AlgorithmMethod
- Defined in:
- lib/moxml/signature/model/algorithm_method.rb
Overview
Generic algorithm method element. Used for CanonicalizationMethod and
SignatureMethod, both of which are <Foo Algorithm="uri" /> shape.
Instance Attribute Summary collapse
-
#algorithm ⇒ Object
Returns the value of attribute algorithm.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
Instance Method Summary collapse
-
#initialize(algorithm:, parameters: {}) ⇒ AlgorithmMethod
constructor
A new instance of AlgorithmMethod.
Constructor Details
#initialize(algorithm:, parameters: {}) ⇒ AlgorithmMethod
Returns a new instance of AlgorithmMethod.
11 12 13 14 |
# File 'lib/moxml/signature/model/algorithm_method.rb', line 11 def initialize(algorithm:, parameters: {}) @algorithm = algorithm @parameters = parameters end |
Instance Attribute Details
#algorithm ⇒ Object
Returns the value of attribute algorithm.
9 10 11 |
# File 'lib/moxml/signature/model/algorithm_method.rb', line 9 def algorithm @algorithm end |
#parameters ⇒ Object
Returns the value of attribute parameters.
9 10 11 |
# File 'lib/moxml/signature/model/algorithm_method.rb', line 9 def parameters @parameters end |