Class: HealthVault::WCData::Methods::Response::CreateConnectRequest::Info
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Methods::Response::CreateConnectRequest::Info
- Defined in:
- lib/wc_data/generated/methods/response/create_connect_request/info.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#identity_code ⇒ Object
returns: a String.
-
#identity_code=(value) ⇒ Object
remarks: This code is to be kept secret.
-
#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.
34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/wc_data/generated/methods/response/create_connect_request/info.rb', line 34 def initialize super self.tag_name = 'info' @children['identity-code'] = {:name => 'identity-code', :class => String, :value => nil, :min => 1, :max => 1, :order => 1, :place => :element, :choice => 0 } @children['identity-code'][:value] = String.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HealthVault::WCData::ComplexType
Instance Method Details
#identity_code ⇒ Object
returns: a String
28 29 30 |
# File 'lib/wc_data/generated/methods/response/create_connect_request/info.rb', line 28 def identity_code return @children['identity-code'][:value] end |
#identity_code=(value) ⇒ Object
remarks: This code is to be kept secret. If the code is lost, the application should call DeletePendingConnectRequest in order to delete it, then call CreateConnectRequest again in order to obtain a new identity code. value is a String
23 24 25 |
# File 'lib/wc_data/generated/methods/response/create_connect_request/info.rb', line 23 def identity_code=(value) @children['identity-code'][:value] = value end |