Sha256: 59d6c29c52acbba9410b19643dc5c5ce67ddfc1e5fc5e46d037e2f32207f96af
Contents?: true
Size: 581 Bytes
Versions: 3
Compression:
Stored size: 581 Bytes
Contents
module Fog module Parsers module AWS module IAM class LoginProfile < Fog::Parsers::Base def reset @response = { 'LoginProfile' => {} } end def end_element(name) case name when 'UserName' @response['LoginProfile']['UserName'] = @value when 'CreateDate' @response['LoginProfile']['CreateDate'] = Time.parse(@value) when 'RequestId' @response[name] = @value end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fog-0.7.2 | lib/fog/aws/parsers/iam/login_profile.rb |
fog-0.7.1 | lib/fog/aws/parsers/iam/login_profile.rb |
fog-0.7.0 | lib/fog/aws/parsers/iam/login_profile.rb |