Exception: Moxml::Signature::UnknownAlgorithm

Inherits:
Error
  • Object
show all
Defined in:
lib/moxml/signature/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#categoryObject (readonly)

Returns the value of attribute category.



10
11
12
# File 'lib/moxml/signature/errors.rb', line 10

def category
  @category
end

#uriObject (readonly)

Returns the value of attribute uri.



10
11
12
# File 'lib/moxml/signature/errors.rb', line 10

def uri
  @uri
end