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



127
128
129
130
131
# File 'lib/active_ldap/xml.rb', line 127

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

Instance Method Details

#to_s(options = {}) ⇒ Object



133
134
135
# File 'lib/active_ldap/xml.rb', line 133

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