Fix Rubocop issue

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
This commit is contained in:
Chris Redekop 2017-04-04 22:03:13 +00:00 committed by Christoph Hartmann
parent d428a96bab
commit e0dfbad730

View file

@ -29,7 +29,7 @@ class AwsIamAccessKey < Inspec.resource(1)
access_key_last_used.last_used_date access_key_last_used.last_used_date
end end
private private
def access_key_last_used def access_key_last_used
@access_key_last_used ||= @iam_client.get_access_key_last_used({ access_key_id: access_key.access_key_id }).access_key_last_used @access_key_last_used ||= @iam_client.get_access_key_last_used({ access_key_id: access_key.access_key_id }).access_key_last_used