Class: Xrc::Elements::Auth

Inherits:
REXML::Element
  • Object
show all
Defined in:
lib/xrc/elements/auth.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Auth

Returns a new instance of Auth.



6
7
8
9
10
11
12
# File 'lib/xrc/elements/auth.rb', line 6

def initialize(options = {})
  super("auth")
  @options = options
  add_sasl_namespace
  add_plain_mechanism_attribute
  add_credentials_text
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



4
5
6
# File 'lib/xrc/elements/auth.rb', line 4

def options
  @options
end