Exception: Moxml::Signature::UnknownAlgorithm
- 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) ⇒ UnknownAlgorithm
constructor
A new instance of UnknownAlgorithm.
Constructor Details
#initialize(category, uri) ⇒ UnknownAlgorithm
Returns a new instance of UnknownAlgorithm.
12 13 14 15 16 |
# File 'lib/moxml/signature/errors.rb', line 12 def initialize(category, uri) @category = category @uri = uri super("Unknown #{category} algorithm: #{uri}") end |
Instance Attribute Details
#category ⇒ Object (readonly)
Returns the value of attribute category.
10 11 12 |
# File 'lib/moxml/signature/errors.rb', line 10 def category @category end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
10 11 12 |
# File 'lib/moxml/signature/errors.rb', line 10 def uri @uri end |