class AMIRotate::CLI
Public Instance Methods
invalidate()
click to toggle source
# File lib/amirotate/cli.rb, line 44 def invalidate client.invalidate end
preserve()
click to toggle source
# File lib/amirotate/cli.rb, line 33 def preserve client.preserve end
rotate()
click to toggle source
# File lib/amirotate/cli.rb, line 56 def rotate preserve invalidate end
setup()
click to toggle source
# File lib/amirotate/cli.rb, line 23 def setup client.setup end
version()
click to toggle source
# File lib/amirotate/cli.rb, line 12 def version puts "AMIRotate #{VERSION}" end
Private Instance Methods
client()
click to toggle source
# File lib/amirotate/cli.rb, line 63 def client @client ||= Client.new options, aws_configuration end