Module: SamlTool::SAML
- Defined in:
- lib/saml_tool/saml.rb
Overview
A wrapper for Nokogiri::XML, that applies defaults that are appropriate for SAML
Defined Under Namespace
Classes: Document, ParseOptions
Class Method Summary collapse
-
.parse(thing, url = nil, encoding = nil, options = ParseOptions::DEFAULT_SAML, &block) ⇒ Object
Parse XML.
Class Method Details
.parse(thing, url = nil, encoding = nil, options = ParseOptions::DEFAULT_SAML, &block) ⇒ Object
Parse XML. Convenience method for Nokogiri::XML::Document.parse
25 26 27 |
# File 'lib/saml_tool/saml.rb', line 25 def self.parse thing, url = nil, encoding = nil, = ParseOptions::DEFAULT_SAML, &block Document.parse(thing, url, encoding, , &block) end |