Class: ACIrb::DnQuery
Overview
Dn Query
Instance Attribute Summary collapse
-
#dn ⇒ Object
Returns the value of attribute dn.
Attributes inherited from Query
#class_filter, #include_prop, #page, #page_size, #prop_filter, #query_target, #sort_order, #subscribe, #subtree, #subtree_class_filter, #subtree_include, #subtree_prop_filter
Instance Method Summary collapse
-
#initialize(dn) ⇒ DnQuery
constructor
A new instance of DnQuery.
- #uri(format) ⇒ Object
Methods inherited from Query
Constructor Details
#initialize(dn) ⇒ DnQuery
Returns a new instance of DnQuery.
51 52 53 |
# File 'lib/query.rb', line 51 def initialize(dn) @dn = dn end |
Instance Attribute Details
#dn ⇒ Object
Returns the value of attribute dn.
50 51 52 |
# File 'lib/query.rb', line 50 def dn @dn end |
Instance Method Details
#uri(format) ⇒ Object
55 56 57 |
# File 'lib/query.rb', line 55 def uri(format) '/api/mo/%s.%s%s' % [@dn, format, ] end |