Class: HealthVault::WCData::Methods::GetPersonInfo::Info
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Methods::GetPersonInfo::Info
- Defined in:
- lib/wc_data/generated/methods/get_person_info/info.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#group_membership ⇒ Object
returns: a String.
-
#group_membership=(value) ⇒ Object
remarks: If true, the groups the person is a member of are returned in the response.
-
#initialize ⇒ Info
constructor
A new instance of Info.
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 ⇒ Info
Returns a new instance of Info.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/wc_data/generated/methods/get_person_info/info.rb', line 33 def initialize super self.tag_name = 'info' @children['group-membership'] = {:name => 'group-membership', :class => String, :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
#group_membership ⇒ Object
returns: a String
27 28 29 |
# File 'lib/wc_data/generated/methods/get_person_info/info.rb', line 27 def group_membership return @children['group-membership'][:value] end |
#group_membership=(value) ⇒ Object
remarks: If true, the groups the person is a member of are returned in the response. value is a String
22 23 24 |
# File 'lib/wc_data/generated/methods/get_person_info/info.rb', line 22 def group_membership=(value) @children['group-membership'][:value] = value end |