Sha256: 7a1e518abf31cf01e5996da8cdadfa617d653fae9b13c6c59de6317c58ffdb2c
Contents?: true
Size: 656 Bytes
Versions: 2
Compression:
Stored size: 656 Bytes
Contents
module Fog module Parsers module AWS module IAM require 'fog/aws/parsers/iam/role_parser' class ListRoles < Fog::Parsers::AWS::IAM::RoleParser def reset super @response = { 'Roles' => [] } end def finished_role(role) @response['Roles'] << role end def end_element(name) case name when 'RequestId', 'Marker' @response[name] = value when 'IsTruncated' @response[name] = (value == 'true') end super end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-1.22.0 | lib/fog/aws/parsers/iam/list_roles.rb |
fog-1.21.0 | lib/fog/aws/parsers/iam/list_roles.rb |