Module: Saml::Base::XmlMapperInstanceMethods
- Defined in:
- lib/saml/base.rb
Instance Attribute Summary collapse
-
#from_xml ⇒ Object
writeonly
Sets the attribute from_xml.
Instance Method Summary collapse
Instance Attribute Details
#from_xml=(value) ⇒ Object (writeonly)
Sets the attribute from_xml
33 34 35 |
# File 'lib/saml/base.rb', line 33 def from_xml=(value) @from_xml = value end |
Instance Method Details
#from_xml? ⇒ Boolean
35 36 37 |
# File 'lib/saml/base.rb', line 35 def from_xml? @from_xml end |
#initialize(attributes = {}) ⇒ Object
27 28 29 30 31 |
# File 'lib/saml/base.rb', line 27 def initialize(attributes = {}) attributes.each do |key, value| send("#{key}=", value) if respond_to?("#{key}=") && value.present? end end |