Class: ActiveLdap::Xml

Inherits:
Object
  • Object
show all
Defined in:
lib/active_ldap/xml.rb

Defined Under Namespace

Classes: Serializer

Instance Method Summary collapse

Constructor Details

#initialize(dn, attributes, schema) ⇒ Xml

Returns a new instance of Xml.



110
111
112
113
114
# File 'lib/active_ldap/xml.rb', line 110

def initialize(dn, attributes, schema)
  @dn = dn
  @attributes = attributes
  @schema = schema
end

Instance Method Details

#to_s(options = {}) ⇒ Object



116
117
118
# File 'lib/active_ldap/xml.rb', line 116

def to_s(options={})
  Serializer.new(@dn, @attributes, @schema, options).to_s
end