class Ctrl::Commands::Base

Public Class Methods

perform(*opts) click to toggle source
# File lib/ctrl/commands/base.rb, line 6
def self.perform(*opts)
  new(*opts).tap(&:perform)
end

Public Instance Methods

client() click to toggle source
# File lib/ctrl/commands/base.rb, line 10
def client
  @client ||= Aws::EC2::Resource.new
end
perform() click to toggle source
# File lib/ctrl/commands/base.rb, line 14
def perform
  fail 'override #perform'
end