Exception: Moxml::Signature::DuplicateAlgorithm
- Defined in:
- lib/moxml/signature/errors.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(category, uri) ⇒ DuplicateAlgorithm
constructor
A new instance of DuplicateAlgorithm.
Constructor Details
#initialize(category, uri) ⇒ DuplicateAlgorithm
Returns a new instance of DuplicateAlgorithm.
22 23 24 25 26 |
# File 'lib/moxml/signature/errors.rb', line 22 def initialize(category, uri) @category = category @uri = uri super("Algorithm already registered for #{category}: #{uri}") end |
Instance Attribute Details
#category ⇒ Object (readonly)
Returns the value of attribute category.
20 21 22 |
# File 'lib/moxml/signature/errors.rb', line 20 def category @category end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
20 21 22 |
# File 'lib/moxml/signature/errors.rb', line 20 def uri @uri end |