Class: HealthVault::WCData::Auth::FederatingCred
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Auth::FederatingCred
- Defined in:
- lib/wc_data/generated/auth/federating_cred.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#federating_auth_token ⇒ Object
returns: a String.
-
#federating_auth_token=(value) ⇒ Object
remarks: This token is produced for application servers upon successful authentication of a user.
-
#initialize ⇒ FederatingCred
constructor
A new instance of FederatingCred.
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 ⇒ FederatingCred
Returns a new instance of FederatingCred.
32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/wc_data/generated/auth/federating_cred.rb', line 32 def initialize super self.tag_name = 'federatingcred' @children['federating-auth-token'] = {:name => 'federating-auth-token', :class => String, :value => nil, :min => 1, :max => 1, :order => 1, :place => :element, :choice => 0 } @children['federating-auth-token'][: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
#federating_auth_token ⇒ Object
returns: a String
26 27 28 |
# File 'lib/wc_data/generated/auth/federating_cred.rb', line 26 def return @children['federating-auth-token'][:value] end |
#federating_auth_token=(value) ⇒ Object
remarks: This token is produced for application servers upon successful authentication of a user. value is a String
21 22 23 |
# File 'lib/wc_data/generated/auth/federating_cred.rb', line 21 def (value) @children['federating-auth-token'][:value] = value end |