class Aws::Plugins::S3BucketNameRestrictions::Handler

def call(context)

def call(context)
  if context.params.key?(:bucket) && context.params[:bucket].include?('/')
    msg = ":bucket option must not contain a forward-slash (/)"
    raise ArgumentError, msg
  end
  @handler.call(context)
end