Class/Module Index [+]

Quicksearch

Fog::Parsers::AWS::IAM::ListServerCertificates

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/aws/parsers/iam/list_server_certificates.rb, line 17
def end_element(name)
  case name
  when 'Arn', 'Path', 'ServerCertificateId', 'ServerCertificateName'
    @certificate[name] = value
  when 'UploadDate'
    @certificate[name] = Time.parse(value)
  when 'member'
    @response['Certificates'] << @certificate
    reset_certificate
  when 'IsTrunctated'
    @response[name] = !!value
  when 'Marker'
    @response[name] = value
  end
end
reset() click to toggle source
# File lib/fog/aws/parsers/iam/list_server_certificates.rb, line 8
def reset
  @response = { 'Certificates' => [] }
  reset_certificate
end
reset_certificate() click to toggle source
# File lib/fog/aws/parsers/iam/list_server_certificates.rb, line 13
def reset_certificate
  @certificate = {}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.