Class: HealthVault::WCData::Auth::FederatingCred

Inherits:
ComplexType
  • Object
show all
Defined in:
lib/wc_data/generated/auth/federating_cred.rb

Instance Attribute Summary

Attributes inherited from ComplexType

#tag_name

Instance Method Summary collapse

Methods inherited from ComplexType

#add_new_to_children, #element, #method_missing, #optional_elements, #parse_element, #query_elements, #required_elements, #to_s, #valid?

Constructor Details

#initializeFederatingCred

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_tokenObject

returns: a String



26
27
28
# File 'lib/wc_data/generated/auth/federating_cred.rb', line 26

def federating_auth_token
  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 federating_auth_token=(value)
  @children['federating-auth-token'][:value] = value
end