Sha256: 2e56b87b10eca2e6adeade475ee6c65567783b296a98dd301ec5e7eb65093871
Contents?: true
Size: 767 Bytes
Versions: 2
Compression:
Stored size: 767 Bytes
Contents
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 # @deprecated def organization_name Saml::Kit.deprecate('`organization_name` is deprecated. Use `organization.name`') name end # @deprecated def organization_url Saml::Kit.deprecate('`organization_url` is deprecated. Use `organization.url`') url end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
saml-kit-1.0.17 | lib/saml/kit/organization.rb |
saml-kit-1.0.16 | lib/saml/kit/organization.rb |