Class: HealthVault::WCData::Auth::SimpleCardSpaceCredential
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Auth::SimpleCardSpaceCredential
- Defined in:
- lib/wc_data/generated/auth/simple_card_space_credential.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#initialize ⇒ SimpleCardSpaceCredential
constructor
A new instance of SimpleCardSpaceCredential.
-
#simple_cardspace ⇒ Object
returns: a HealthVault::WCData::Types::CardSpaceCred.
-
#simple_cardspace=(value) ⇒ Object
remarks: CardSpace produces a SAML token that is encrypted using the SSL public key used when associating a CardSpace credential with a primary credential.
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 ⇒ SimpleCardSpaceCredential
Returns a new instance of SimpleCardSpaceCredential.
32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/wc_data/generated/auth/simple_card_space_credential.rb', line 32 def initialize super self.tag_name = 'simplecardspacecredential' @children['simple-cardspace'] = {:name => 'simple-cardspace', :class => HealthVault::WCData::Types::CardSpaceCred, :value => nil, :min => 1, :max => 1, :order => 1, :place => :element, :choice => 0 } @children['simple-cardspace'][:value] = HealthVault::WCData::Types::CardSpaceCred.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HealthVault::WCData::ComplexType
Instance Method Details
#simple_cardspace ⇒ Object
returns: a HealthVault::WCData::Types::CardSpaceCred
26 27 28 |
# File 'lib/wc_data/generated/auth/simple_card_space_credential.rb', line 26 def simple_cardspace return @children['simple-cardspace'][:value] end |
#simple_cardspace=(value) ⇒ Object
remarks: CardSpace produces a SAML token that is encrypted using the SSL public key used when associating a CardSpace credential with a primary credential. value is a HealthVault::WCData::Types::CardSpaceCred
21 22 23 |
# File 'lib/wc_data/generated/auth/simple_card_space_credential.rb', line 21 def simple_cardspace=(value) @children['simple-cardspace'][:value] = value end |