class Fog::Parsers::AWS::KMS::GetPublicKey
Public Instance Methods
Source
# File lib/fog/aws/parsers/kms/get_public_key.rb, line 18 def end_element(name) case name when 'KeyId', 'KeySpec', 'KeyUsage', 'PublicKey' @response[name] = value when 'EncryptionAlgorithms', 'KeyAgreementAlgorithms', 'SigningAlgorithms' @response[name] << value end end
Source
# File lib/fog/aws/parsers/kms/get_public_key.rb, line 6 def reset @response = {} end
Source
# File lib/fog/aws/parsers/kms/get_public_key.rb, line 10 def start_element(name, attrs = []) super case name when 'EncryptionAlgorithms', 'KeyAgreementAlgorithms', 'SigningAlgorithms' @response[name] = [] end end
Calls superclass method