Class: HealthVault::WCData::Auth::Auth
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Auth::Auth
- Defined in:
- lib/wc_data/generated/auth/auth.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#initialize ⇒ Auth
constructor
A new instance of Auth.
-
#rules ⇒ Object
returns: a HealthVault::WCData::Auth::Rules.
-
#rules=(value) ⇒ Object
value is a HealthVault::WCData::Auth::Rules.
Methods inherited from ComplexType
#add_new_to_children, #element, #method_missing, #optional_elements, #parse_element, #query_elements, #required_elements, #to_s, #valid?
Constructor Details
#initialize ⇒ Auth
Returns a new instance of Auth.
30 31 32 33 34 35 36 37 38 39 |
# File 'lib/wc_data/generated/auth/auth.rb', line 30 def initialize super self.tag_name = 'auth' @children['rules'] = {:name => 'rules', :class => HealthVault::WCData::Auth::Rules, :value => nil, :min => 0, :max => 1, :order => 1, :place => :element, :choice => 0 } end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HealthVault::WCData::ComplexType
Instance Method Details
#rules ⇒ Object
returns: a HealthVault::WCData::Auth::Rules
24 25 26 |
# File 'lib/wc_data/generated/auth/auth.rb', line 24 def rules return @children['rules'][:value] end |
#rules=(value) ⇒ Object
value is a HealthVault::WCData::Auth::Rules
19 20 21 |
# File 'lib/wc_data/generated/auth/auth.rb', line 19 def rules=(value) @children['rules'][:value] = value end |