lib/github/ldap.rb
def configure_virtual_attributes(attributes)
      @virtual_attributes = if attributes == true
        VirtualAttributes.new(true)
      elsif attributes.is_a?(Hash)
        VirtualAttributes.new(true, attributes)
      else
        VirtualAttributes.new(false)
      end
    end
def configure_virtual_attributes(attributes)
      @virtual_attributes = if attributes == true
        VirtualAttributes.new(true)
      elsif attributes.is_a?(Hash)
        VirtualAttributes.new(true, attributes)
      else
        VirtualAttributes.new(false)
      end
    end
def configure_virtual_attributes ( attributes ) @virtual_attributes = if attributes == true VirtualAttributes . new ( true ) elsif attributes . is_a? ( Hash ) VirtualAttributes . new ( true , attributes ) else VirtualAttributes . new ( false ) end end
Internal - Configure virtual attributes for this server.
 If the option is `true`, we'll use the default virual attributes.
 If it's a Hash we'll map the attributes in the hash.

 attributes: is the option set when Ldap is initialized.

 Returns a VirtualAttributes.
Internal - Configure virtual attributes for this server . If the option is true we ll use the default virual attributes . If it s a Hash we ll map the attributes in the hash .