Class: Xrc::Elements::Auth
- Inherits:
-
REXML::Element
- Object
- REXML::Element
- Xrc::Elements::Auth
- Defined in:
- lib/xrc/elements/auth.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Auth
constructor
A new instance of Auth.
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( = {}) super("auth") @options = add_sasl_namespace add_plain_mechanism_attribute add_credentials_text end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/xrc/elements/auth.rb', line 4 def @options end |