README.md in signer-1.5.0 vs README.md in signer-1.5.1
- old
+ new
@@ -227,11 +227,16 @@
signer.sign! # No need to pass a :security_token option, as we already constructed and inserted this node
```
If you need to use canonicalization with inclusive namespaces you can pass array of namespace prefixes in `:inclusive_namespaces` option in both `digest!` and `sign!` methods.
+If you need `Signature` tags to be in explicit namespace (say, `<ds:Signature>`) instead of to be in implicit default namespace you can specify next option:
+```ruby
+signer.ds_namespace_prefix = 'ds'
+```
+
Every new instance of signer has Nokogiri `noblanks` set as default in process of parsing xml file. If you need to disable it, pass opional argument `noblanks: false`.
-```
+```ruby
Signer.new(File.read("example.xml"), noblanks: false)
```