Class: Saml::Kit::Template
- Inherits:
-
Object
- Object
- Saml::Kit::Template
- Defined in:
- lib/saml/kit/template.rb
Instance Attribute Summary collapse
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(target) ⇒ Template
constructor
A new instance of Template.
- #to_xml(options) ⇒ Object
Constructor Details
#initialize(target) ⇒ Template
Returns a new instance of Template.
6 7 8 |
# File 'lib/saml/kit/template.rb', line 6 def initialize(target) @target = target end |
Instance Attribute Details
#target ⇒ Object (readonly)
Returns the value of attribute target.
4 5 6 |
# File 'lib/saml/kit/template.rb', line 4 def target @target end |
Instance Method Details
#to_xml(options) ⇒ Object
10 11 12 |
# File 'lib/saml/kit/template.rb', line 10 def to_xml() template.render(target, ) end |