Sha256: e3c03b236a47570927cd8d950418d1c9811b318d4c313d97f06496624d9fa002
Contents?: true
Size: 478 Bytes
Versions: 3
Compression:
Stored size: 478 Bytes
Contents
# frozen_string_literal: true module Saml module Kit class Organization include XmlParseable attr_reader :content def initialize(node) @to_nokogiri = node @content = node.to_s end # Returns the Organization Name def name at_xpath('./md:OrganizationName').try(:text) end # Returns the Organization URL def url at_xpath('./md:OrganizationURL').try(:text) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
saml-kit-1.3.0 | lib/saml/kit/organization.rb |
saml-kit-1.2.0 | lib/saml/kit/organization.rb |
saml-kit-1.1.0 | lib/saml/kit/organization.rb |