class Fog::Parsers::AWS::IAM::ListManagedPolicies
Public Instance Methods
end_element(name)
click to toggle source
Calls superclass method
Fog::Parsers::AWS::IAM::PolicyParser#end_element
# File lib/fog/aws/parsers/iam/list_managed_policies.rb, line 16 def end_element(name) case name when 'RequestId', 'Marker' @response[name] = value when 'IsTruncated' @response[name] = (value == 'true') end super end
finished_policy(policy)
click to toggle source
# File lib/fog/aws/parsers/iam/list_managed_policies.rb, line 12 def finished_policy(policy) @response['Policies'] << policy end
reset()
click to toggle source
Calls superclass method
Fog::Parsers::AWS::IAM::PolicyParser#reset
# File lib/fog/aws/parsers/iam/list_managed_policies.rb, line 7 def reset super @response = { 'Policies' => [] , 'Marker' => '', 'IsTruncated' => false} end