Module: Aws::Structure::Union Private
- Defined in:
- lib/aws-sdk-core/structure.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #member ⇒ Object private
- #value ⇒ Object private
Instance Method Details
#member ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
75 76 77 |
# File 'lib/aws-sdk-core/structure.rb', line 75 def member self.members.select { |k| self[k] != nil }.first end |
#value ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
79 80 81 |
# File 'lib/aws-sdk-core/structure.rb', line 79 def value self[member] if member end |