module Saml::Base::XmlMapperInstanceMethods

Attributes

from_xml[W]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/saml/base.rb, line 25
def initialize(attributes = {})
  attributes.each do |key, value|
    send("#{key}=", value) if respond_to?("#{key}=") && value
  end
end

Public Instance Methods

from_xml?() click to toggle source
# File lib/saml/base.rb, line 33
def from_xml?
  @from_xml
end
use_original(object) click to toggle source
# File lib/saml/base.rb, line 37
def use_original(object)
  registered_namespaces.merge!(Saml::Util.collect_extra_namespaces(object.xml_value))
  object.use_parsed
end