lib/fog/aws/requests/iam/get_account_summary.rb in fog-1.22.0 vs lib/fog/aws/requests/iam/get_account_summary.rb in fog-1.22.1
- old
+ new
@@ -1,10 +1,9 @@
module Fog
module AWS
class IAM
class Real
-
require 'fog/aws/parsers/iam/get_account_summary'
# Retrieve account level information about account entity usage and IAM quotas
#
# ==== Returns
@@ -41,15 +40,13 @@
request(
'Action' => 'GetAccountSummary',
:parser => Fog::Parsers::AWS::IAM::GetAccountSummary.new
)
end
-
end
class Mock
-
def get_account_summary
Excon::Response.new.tap do |response|
response.status = 200
response.body = {
'Summary' => {
@@ -70,11 +67,9 @@
},
'RequestId' => Fog::AWS::Mock.request_id
}
end
end
-
end
-
end
end
end