Class: ActiveLdap::Xml — activeldap - ActiveLdap

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

- (Xml) initialize(dn, attributes, schema)

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

- (Object) to_s(options = {})



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

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