Module: Saml::Base::HappyMapperInstanceMethods
- 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
25 26 27 |
# File 'lib/saml/base.rb', line 25 def from_xml=(value) @from_xml = value end |
Instance Method Details
#from_xml? ⇒ Boolean
27 28 29 |
# File 'lib/saml/base.rb', line 27 def from_xml? @from_xml end |
#initialize(attributes = {}) ⇒ Object
19 20 21 22 23 |
# File 'lib/saml/base.rb', line 19 def initialize(attributes = {}) attributes.each do |key, value| send("#{key}=", value) if respond_to?("#{key}=") && value.present? end end |